ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilLMObject. More...
Public Member Functions | |
ilLMObjectGUI (&$a_content_obj) | |
constructor | |
setActions ($a_actions="") | |
build action array | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
create () | |
structure / page object creation form | |
putInTree () | |
put this object into content object tree | |
delete () | |
Confirm deletion screen (delete page or structure objects) | |
cancelDelete () | |
cancel deletion of page/structure objects | |
confirmedDelete () | |
page and structure object deletion | |
add_cell ($val, $link="") | |
output a cell in object list | |
showActions ($a_actions) | |
show possible action (form buttons) | |
checkTree () | |
check the content object tree |
Data Fields | |
$ilias | |
$tpl | |
$lng | |
$obj | |
$ctrl | |
$content_object | |
$actions |
Class ilLMObject.
Base class for ilStructureObjects and ilPageObjects (see ILIAS DTD)
Definition at line 35 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::add_cell | ( | $val, | |
$link = "" |
|||
) |
output a cell in object list
Reimplemented in ilStructureObjectGUI.
Definition at line 252 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::cancelDelete | ( | ) |
cancel deletion of page/structure objects
Definition at line 230 of file class.ilLMObjectGUI.php.
References $_GET.
ilLMObjectGUI::checkTree | ( | ) |
check the content object tree
Definition at line 306 of file class.ilLMObjectGUI.php.
Referenced by ilStructureObjectGUI\cutPage(), ilStructureObjectGUI\pastePage(), ilLMPageObjectGUI\save(), and ilStructureObjectGUI\save().
ilLMObjectGUI::confirmedDelete | ( | ) |
page and structure object deletion
Definition at line 240 of file class.ilLMObjectGUI.php.
References $_GET, and ilObjContentObjectGUI\confirmedDelete().
ilLMObjectGUI::create | ( | ) |
structure / page object creation form
Reimplemented in ilStructureObjectGUI.
Definition at line 138 of file class.ilLMObjectGUI.php.
References $_GET, $_POST, $_SESSION, $data, $key, getTargetFrame(), and getTemplateFile().
ilLMObjectGUI::delete | ( | ) |
Confirm deletion screen (delete page or structure objects)
Definition at line 217 of file class.ilLMObjectGUI.php.
References ilObjContentObjectGUI\delete().
ilLMObjectGUI::getTargetFrame | ( | $a_cmd, | |
$a_target_frame = "" |
|||
) |
get target frame for command (command is method name without "Object", e.g.
"perm")
string | $a_cmd | command |
string | $a_target_frame | default target frame (is returned, if no special target frame was set) public |
Definition at line 93 of file class.ilLMObjectGUI.php.
References elseif().
Referenced by create().
ilLMObjectGUI::getTemplateFile | ( | $a_cmd, | |
$a_type = "" |
|||
) |
get a template blockfile format: tpl.
<objtype>_<command>.html
string | command |
string | object type definition public |
Definition at line 117 of file class.ilLMObjectGUI.php.
References $_GET.
Referenced by create().
ilLMObjectGUI::ilLMObjectGUI | ( | & | $a_content_obj | ) |
constructor
object | $a_content_obj | content object |
Definition at line 51 of file class.ilLMObjectGUI.php.
References $ilCtrl, $ilias, $lng, and $tpl.
Referenced by ilLMPageObjectGUI\ilLMPageObjectGUI(), and ilStructureObjectGUI\ilStructureObjectGUI().
ilLMObjectGUI::putInTree | ( | ) |
put this object into content object tree
Reimplemented in ilStructureObjectGUI.
Definition at line 180 of file class.ilLMObjectGUI.php.
References $_GET, IL_FIRST_NODE, and ilTree\setTableNames().
Referenced by ilLMPageObjectGUI\save().
ilLMObjectGUI::setActions | ( | $a_actions = "" | ) |
build action array
array | $a_actions | action array (key = action key, value = action language string) private |
Definition at line 70 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 275 of file class.ilLMObjectGUI.php.
References $d, $lng, $name, and ilUtil\getImagePath().
Referenced by ilStructureObjectGUI\subchap(), and ilStructureObjectGUI\view().
ilLMObjectGUI::$actions |
Definition at line 43 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$content_object |
Definition at line 42 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\getLinkXML().
ilLMObjectGUI::$ctrl |
Definition at line 41 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$ilias |
Definition at line 37 of file class.ilLMObjectGUI.php.
Referenced by ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), and ilStructureObjectGUI\ilStructureObjectGUI().
ilLMObjectGUI::$lng |
Definition at line 39 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), ilStructureObjectGUI\activatePages(), ilStructureObjectGUI\copyItems(), ilStructureObjectGUI\cutItems(), ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), ilStructureObjectGUI\ilStructureObjectGUI(), ilLMPageObjectGUI\initEditLayoutForm(), ilLMPageObjectGUI\saveLayout(), setActions(), showActions(), ilStructureObjectGUI\showHierarchy(), ilStructureObjectGUI\subchap(), and ilStructureObjectGUI\view().
ilLMObjectGUI::$obj |
Definition at line 40 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$tpl |
Definition at line 38 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\editLayout(), ilLMPageObjectGUI\executeCommand(), ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), ilStructureObjectGUI\ilStructureObjectGUI(), and ilLMPageObjectGUI\saveLayout().