ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilCronHookPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/Component/classes/class.ilPlugin.php");
6 
15 abstract class ilCronHookPlugin extends ilPlugin
16 {
17  final public function getComponentType()
18  {
19  return IL_COMP_SERVICE;
20  }
21 
22  final public function getComponentName()
23  {
24  return "Cron";
25  }
26 
27  final public function getSlot()
28  {
29  return "CronHook";
30  }
31 
32  final public function getSlotId()
33  {
34  return "crnhk";
35  }
36 
37  final protected function slotInit()
38  {
39  // nothing to do here
40  }
41 
42  abstract public function getCronJobInstances();
43 
44  abstract public function getCronJobInstance($a_job_id);
45 }
getCronJobInstance($a_job_id)
Abstract parent class for all cron hook plugin classes.
const IL_COMP_SERVICE