public function triggerSuggestImport($download = false)
    {
        //this function changes parameters, action, ... so reload of response is neccessary
        $this->request->resetLoaded();
        
        $this->request->setAction('Import.ff');

        $this->parameters['download'] = $download ? 'true' : 'false';
        $this->parameters['type'] = 'suggest';

        $report = $this->getResponseContent();

        // Clean up for next import
        unset($this->parameters['type']);

        // TODO: Parse the response XML into some nice domain object.
        return $report;
    }
public function triggerSuggestImport($download = false)
    {
        //this function changes parameters, action, ... so reload of response is neccessary
        $this->request->resetLoaded();
        
        $this->request->setAction('Import.ff');

        $this->parameters['download'] = $download ? 'true' : 'false';
        $this->parameters['type'] = 'suggest';

        $report = $this->getResponseContent();

        // Clean up for next import
        unset($this->parameters['type']);

        // TODO: Parse the response XML into some nice domain object.
        return $report;
    }
public function triggerSuggestImport ( $ download = false ) { //this function changes parameters, action, ... so reload of response is neccessary $ this -> request -> resetLoaded ( ) ; $ this -> request -> setAction ( 'Import.ff' ) ; $ this -> parameters [ 'download' ] = $ download ? 'true' : 'false' ; $ this -> parameters [ 'type' ] = 'suggest' ; $ report = $ this -> getResponseContent ( ) ; // Clean up for next import unset ( $ this -> parameters [ 'type' ] ) ; // TODO: Parse the response XML into some nice domain object. return $ report ; }
Trigger a suggest data import.

@param bool $download If true, update import files prior to import.
Trigger a suggest data import .