ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 function getComponentType()
18  {
19  return IL_COMP_SERVICE;
20  }
21 
22  final function getComponentName()
23  {
24  return "Cron";
25  }
26 
27  final function getSlot()
28  {
29  return "CronHook";
30  }
31 
32  final function getSlotId()
33  {
34  return "crnhk";
35  }
36 
37  protected final 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 }
46 
47 ?>
getCronJobInstance($a_job_id)
Abstract parent class for all cron hook plugin classes.
const IL_COMP_SERVICE