ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilQuestionsPlugin.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Component/classes/class.ilPlugin.php");
5 
14 abstract class ilQuestionsPlugin extends ilPlugin
15 {
16  const COMP_NAME = 'TestQuestionPool';
17  const SLOT_NAME = 'Questions';
18  const SLOT_ID = 'qst';
19 
25  final public function getComponentType()
26  {
27  return IL_COMP_MODULE;
28  }
29 
35  final public function getComponentName()
36  {
37  return self::COMP_NAME;
38  }
39 
45  final public function getSlot()
46  {
47  return self::SLOT_NAME;
48  }
49 
55  final public function getSlotId()
56  {
57  return self::SLOT_ID;
58  }
59 
63  final protected function slotInit()
64  {
65  // nothing to do here
66  }
67 
68  abstract public function getQuestionType();
69 }
Abstract parent class for all question plugin classes.
getComponentName()
Get Component Name.
const IL_COMP_MODULE
slotInit()
Object initialization done by slot.
getComponentType()
Get Component Type.