Create a single new table

Cleans the cache when a new tables was created

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

 Methods

Now we have the requests answered, add the DatabasePatcher as it needs the db object

checkRegistryRequestsAnswers() : boolean

Returns

boolean

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

execute($tableData = array()

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

inherited_from \Gems_Task_TaskAbstract::execute()

Parameters

$tableData

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

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

$dbaModel

$dbaModel : \Gems_Model_DbaModel

Default

 

$escort

$escort : \GemsEscort

Default

 

$loader

$loader : \Gems_Loader

Default

 

$project

$project : \Gems_Project_ProjectSettings

Default

 

$translate

$translate : \Zend_Translate_Adapter

Default

 

$_batch

$_batch : \MUtil_Task_TaskBatch

Default