protected function getDefault()
    {
        $current_url = $this->url->get();

        return array(
            'id' => uniqid(),
            'status' => true,
            'title' => '',
            'url' => '',
            'total' => 0,
            'errors' => 0,
            'done' => 0,
            'inserted' => 0,
            'updated' => 0,
            'context' => array(
                'offset' => 0,
                'line' => 1,
            ),
            'data' => array(),
            'message' => array(
                'start' => $this->translation->text('Starting...'),
                'finish' => $this->translation->text('Finished'),
                'process' => $this->translation->text('Processing...')
            ),
            'redirect' => array(
                'finish' => $current_url,
                'errors' => $current_url,
                'no_results' => $current_url
            ),
            'redirect_message' => array(
                'finish' => '',
                'errors' => '',
                'no_results' => ''
            ),
            'log' => array(
                'errors' => ''
            )
        );
    }
protected function getDefault()
    {
        $current_url = $this->url->get();

        return array(
            'id' => uniqid(),
            'status' => true,
            'title' => '',
            'url' => '',
            'total' => 0,
            'errors' => 0,
            'done' => 0,
            'inserted' => 0,
            'updated' => 0,
            'context' => array(
                'offset' => 0,
                'line' => 1,
            ),
            'data' => array(),
            'message' => array(
                'start' => $this->translation->text('Starting...'),
                'finish' => $this->translation->text('Finished'),
                'process' => $this->translation->text('Processing...')
            ),
            'redirect' => array(
                'finish' => $current_url,
                'errors' => $current_url,
                'no_results' => $current_url
            ),
            'redirect_message' => array(
                'finish' => '',
                'errors' => '',
                'no_results' => ''
            ),
            'log' => array(
                'errors' => ''
            )
        );
    }
protected function getDefault ( ) { $ current_url = $ this -> url -> get ( ) ; return array ( 'id' => uniqid ( ) , 'status' => true , 'title' => '' , 'url' => '' , 'total' => 0 , 'errors' => 0 , 'done' => 0 , 'inserted' => 0 , 'updated' => 0 , 'context' => array ( 'offset' => 0 , 'line' => 1 , ) , 'data' => array ( ) , 'message' => array ( 'start' => $ this -> translation -> text ( 'Starting...' ) , 'finish' => $ this -> translation -> text ( 'Finished' ) , 'process' => $ this -> translation -> text ( 'Processing...' ) ) , 'redirect' => array ( 'finish' => $ current_url , 'errors' => $ current_url , 'no_results' => $ current_url ) , 'redirect_message' => array ( 'finish' => '' , 'errors' => '' , 'no_results' => '' ) , 'log' => array ( 'errors' => '' ) ) ; }
Returns an array of default job values
@return array
Returns an array of default job values