ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
5include_once("./Services/Component/classes/class.ilPlugin.php");
6
15abstract 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?>
const IL_COMP_SERVICE
Abstract parent class for all cron hook plugin classes.
getComponentType()
Get Component Type.
slotInit()
Object initialization done by slot.
getComponentName()
Get Component Name.
getCronJobInstance($a_job_id)