ILIAS
Release_4_2_x_branch Revision 61807
|
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 16 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::add_cell | ( | $val, | |
$link = "" |
|||
) |
output a cell in object list
Reimplemented in ilStructureObjectGUI.
Definition at line 233 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::cancelDelete | ( | ) |
cancel deletion of page/structure objects
Definition at line 211 of file class.ilLMObjectGUI.php.
References $_GET.
ilLMObjectGUI::checkTree | ( | ) |
check the content object tree
Definition at line 287 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 221 of file class.ilLMObjectGUI.php.
References $_GET, and ilObjContentObjectGUI\confirmedDelete().
ilLMObjectGUI::create | ( | ) |
structure / page object creation form
Reimplemented in ilStructureObjectGUI.
Definition at line 119 of file class.ilLMObjectGUI.php.
References $_GET, $_POST, $_SESSION, $data, getTargetFrame(), and getTemplateFile().
ilLMObjectGUI::delete | ( | ) |
Confirm deletion screen (delete page or structure objects)
Definition at line 198 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 74 of file class.ilLMObjectGUI.php.
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 98 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 32 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 161 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 51 of file class.ilLMObjectGUI.php.
References $lng.
ilLMObjectGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 256 of file class.ilLMObjectGUI.php.
References $d, $lng, and ilUtil\getImagePath().
Referenced by ilStructureObjectGUI\subchap(), and ilStructureObjectGUI\view().
ilLMObjectGUI::$actions |
Definition at line 24 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$content_object |
Definition at line 23 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\getLinkXML().
ilLMObjectGUI::$ctrl |
Definition at line 22 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$ilias |
Definition at line 18 of file class.ilLMObjectGUI.php.
Referenced by ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), and ilStructureObjectGUI\ilStructureObjectGUI().
ilLMObjectGUI::$lng |
Definition at line 20 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\_goto(), ilStructureObjectGUI\_goto(), ilStructureObjectGUI\activatePages(), ilStructureObjectGUI\copyItems(), ilStructureObjectGUI\cutItems(), ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), ilStructureObjectGUI\ilStructureObjectGUI(), ilLMPageObjectGUI\initEditLayoutForm(), ilStructureObjectGUI\initSetPageLayoutForm(), ilStructureObjectGUI\insertChapter(), ilStructureObjectGUI\insertPage(), ilLMPageObjectGUI\saveLayout(), ilStructureObjectGUI\savePageLayout(), setActions(), ilStructureObjectGUI\setPageLayout(), ilStructureObjectGUI\setTabs(), showActions(), ilStructureObjectGUI\showHierarchy(), ilStructureObjectGUI\subchap(), and ilStructureObjectGUI\view().
ilLMObjectGUI::$obj |
Definition at line 21 of file class.ilLMObjectGUI.php.
ilLMObjectGUI::$tpl |
Definition at line 19 of file class.ilLMObjectGUI.php.
Referenced by ilLMPageObjectGUI\editLayout(), ilLMPageObjectGUI\executeCommand(), ilLMObjectGUI(), ilLMPageObjectGUI\ilLMPageObjectGUI(), ilStructureObjectGUI\ilStructureObjectGUI(), ilLMPageObjectGUI\saveLayout(), and ilStructureObjectGUI\setPageLayout().