21 lines
390 B
PHP
21 lines
390 B
PHP
<?php
|
|
/*
|
|
Author: Riccardo Di Dato
|
|
Creation Date: 13/gen/2016
|
|
*/
|
|
|
|
class TestTask extends Task {
|
|
public static function getName(){
|
|
return "test";
|
|
}
|
|
|
|
public static function getLabel(){
|
|
return "Un task di test";
|
|
}
|
|
|
|
public static function execute(){
|
|
LoggingFacilityManager::getLogger("task")->log(LoggingFacility::$LEVEL_DEBUG,"Execution of task '".self::getLabel()."'");
|
|
}
|
|
}
|
|
|
|
?>
|