Class ilObjQuestionPoolListGUI. More...
Inheritance diagram for ilObjQuestionPoolListGUI:
Collaboration diagram for ilObjQuestionPoolListGUI:Public Member Functions | |
| ilObjQuestionPoolListGUI () | |
| constructor | |
| init () | |
| initialisation | |
| initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="") | |
| inititialize new item | |
| getCommandFrame ($a_cmd) | |
| Get command target frame. | |
| getProperties () | |
| Get item properties. | |
| getCommandLink ($a_cmd) | |
| Get command link url. | |
Class ilObjQuestionPoolListGUI.
Definition at line 38 of file class.ilObjQuestionPoolListGUI.php.
| ilObjQuestionPoolListGUI::getCommandFrame | ( | $ | a_cmd | ) |
Get command target frame.
| string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 89 of file class.ilObjQuestionPoolListGUI.php.
References ilFrameTargetInfo::_getFrame().
{
switch($a_cmd)
{
case "":
case "questions":
$frame = ilFrameTargetInfo::_getFrame("MainContent");
break;
default:
}
return $frame;
}
Here is the call graph for this function:| ilObjQuestionPoolListGUI::getCommandLink | ( | $ | a_cmd | ) |
Get command link url.
| int | $a_ref_id reference id | |
| string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 131 of file class.ilObjQuestionPoolListGUI.php.
{
// separate method for this line
$cmd_link = "assessment/questionpool.php?ref_id=".$this->ref_id."&cmd=$a_cmd";
return $cmd_link;
}
| ilObjQuestionPoolListGUI::getProperties | ( | ) |
Get item properties.
Definition at line 114 of file class.ilObjQuestionPoolListGUI.php.
| ilObjQuestionPoolListGUI::ilObjQuestionPoolListGUI | ( | ) |
constructor
Definition at line 44 of file class.ilObjQuestionPoolListGUI.php.
References ilObjectListGUI::ilObjectListGUI().
{
$this->ilObjectListGUI();
}
Here is the call graph for this function:| ilObjQuestionPoolListGUI::init | ( | ) |
initialisation
Reimplemented from ilObjectListGUI.
Definition at line 52 of file class.ilObjQuestionPoolListGUI.php.
References ilObjQuestionPoolAccess::_getCommands().
{
$this->delete_enabled = true;
$this->cut_enabled = true;
$this->subscribe_enabled = true;
$this->link_enabled = false;
$this->payment_enabled = false;
$this->type = "qpl";
$this->gui_class_name = "ilobjquestionpoolgui";
// general commands array
include_once('class.ilObjQuestionPoolAccess.php');
$this->commands = ilObjQuestionPoolAccess::_getCommands();
}
Here is the call graph for this function:| ilObjQuestionPoolListGUI::initItem | ( | $ | a_ref_id, | |
| $ | a_obj_id, | |||
| $ | a_title = "", |
|||
| $ | a_description = "" | |||
| ) |
inititialize new item
| int | $a_ref_id reference id | |
| int | $a_obj_id object id | |
| string | $a_title title | |
| string | $a_description description |
Reimplemented from ilObjectListGUI.
Definition at line 76 of file class.ilObjQuestionPoolListGUI.php.
{
parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
}
1.7.1