ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4include_once ("./Services/Component/classes/class.ilPlugin.php");
5
14abstract class ilQuestionsPlugin extends ilPlugin {
15
16 const COMP_NAME = 'TestQuestionPool';
17 const SLOT_NAME = 'Questions';
18 const SLOT_ID = 'qst';
19
25 final function getComponentType() {
26 return IL_COMP_MODULE;
27 }
28
34 final function getComponentName() {
35 return self::COMP_NAME;
36 }
37
43 final function getSlot() {
44 return self::SLOT_NAME;
45 }
46
52 final function getSlotId() {
53 return self::SLOT_ID;
54 }
55
59 protected final function slotInit() {
60 // nothing to do here
61 }
62
63 abstract function getQuestionType();
64}
65?>
const IL_COMP_MODULE
Abstract parent class for all question plugin classes.
getComponentType()
Get Component Type.
getComponentName()
Get Component Name.
slotInit()
Object initialization done by slot.