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 |
checkRegistryRequestsAnswers() : boolean
boolean
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
integer
Only execute patches for this patchlevel
boolean
Set to yes to skip patches that where already completed
boolean
Set to yes to skip patches that where already executed (this includes the ones that are executed but not completed)
$db : \Zend_Db_Adapter_Abstract
$patcher : \Gems_Util_DatabasePatcher