mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add documentation, get parameter in execute()
This commit is contained in:
parent
5df058415d
commit
ded0c29b24
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user