public function importDumps() {
        if (VERBOSE) echo 'GETTING DUMP LIST',PHP_EOL;
        $dumps = $this->api->api('/reports/dumps', 'GET');

        if (VERBOSE) echo 'GOT DUMP LIST',PHP_EOL;
        $dumps = array_reverse($dumps);
        if (VERBOSE) echo 'EXECUTING DUMPS!',PHP_EOL;
        foreach ($dumps as $dump) {
            if ($dump['status'] == 1) {
                $this->dump($dump['dumpId']);
            }
        }
    }
public function importDumps() {
        if (VERBOSE) echo 'GETTING DUMP LIST',PHP_EOL;
        $dumps = $this->api->api('/reports/dumps', 'GET');

        if (VERBOSE) echo 'GOT DUMP LIST',PHP_EOL;
        $dumps = array_reverse($dumps);
        if (VERBOSE) echo 'EXECUTING DUMPS!',PHP_EOL;
        foreach ($dumps as $dump) {
            if ($dump['status'] == 1) {
                $this->dump($dump['dumpId']);
            }
        }
    }
public function importDumps ( ) { if ( VERBOSE ) echo 'GETTING DUMP LIST' , PHP_EOL ; $ dumps = $ this -> api -> api ( '/reports/dumps' , 'GET' ) ; if ( VERBOSE ) echo 'GOT DUMP LIST' , PHP_EOL ; $ dumps = array_reverse ( $ dumps ) ; if ( VERBOSE ) echo 'EXECUTING DUMPS!' , PHP_EOL ; foreach ( $ dumps as $ dump ) { if ( $ dump [ 'status' ] == 1 ) { $ this -> dump ( $ dump [ 'dumpId' ] ) ; } } }
Grab all report dumps and go through them in the order they were created

This calls Reports::dump($id) on each dump
Grab all report dumps and go through them in the order they were created