Executes any command in an Export class for a given $exportType

package Gems
subpackage Task_Tracker
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.5.3
inherited_from \Gems_Task_TaskAbstract

 Methods

Should handle execution of the task, taking as much (optional) parameters as needed

execute(string $exportType = null, string $command = null, $params = null

The parameters should be optional and failing to provide them should be handled by the task

inherited_from \Gems_Task_TaskAbstract::execute()

Parameters

$exportType

string

Name of export class

$command

string

Command to call in export class

$params

Should handle execution of the task, taking as much (optional) parameters as needed

execute() 
Inherited

The parameters should be optional and failing to provide them should be handled by the task

Return true when the task has finished.

isFinished() : boolean
Inherited

Returns

boolean

Sets the batch this task belongs to

setBatch(\MUtil_Task_TaskBatch $batch) 
Inherited

This method will be called from the \Gems_Task_TaskRunnerBatch upon execution of the task. It allows the task to communicate with the batch queue.

Parameters

$batch

\MUtil_Task_TaskBatch

 Properties

 

$loader

$loader : \Gems_Loader

Default

 

$translate

$translate : \Zend_Translate_Adapter

Default

 

$_batch

$_batch : \MUtil_Task_TaskBatch

Default