Execute a certain patchlevel

Cleans the cache when patches where executed

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

 Methods

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

checkRegistryRequestsAnswers() : boolean
Inherited

Returns

boolean

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

execute(integer $patchLevel = null, boolean $ignoreCompleted = true, boolean $ignoreExecuted = false

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

Parameters

$patchLevel

integer

Only execute patches for this patchlevel

$ignoreCompleted

boolean

Set to yes to skip patches that where already completed

$ignoreExecuted

boolean

Set to yes to skip patches that where already executed (this includes the ones that are executed but not completed)

 Properties

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

$patcher

$patcher : \Gems_Util_DatabasePatcher

Default