add documentation, get parameter in execute()

This commit is contained in:
Uwe Steinmann 2018-07-12 13:55:36 +02:00
parent 5df058415d
commit ded0c29b24

View File

@ -118,7 +118,16 @@ class SeedDMS_ExtExample_ViewFolder {
* @subpackage example
*/
class SeedDMS_ExtExample_Task extends SeedDMS_SchedulerTaskBase {
/**
* Run the task
*
* @param $task task to be executed
* @param $dms dms
* @return boolean true if task was executed succesfully, otherwise false
*/
public function execute($task, $dms) {
$taskparams = $task->getParameter();
return true;
}