ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilLMPageObjectGUI. More...
Public Member Functions | |
ilLMPageObjectGUI (&$a_content_obj) | |
Constructor. | |
setLMPageObject (&$a_pg_obj) | |
set content object dependent page object (co page) | |
& | executeCommand () |
execute command | |
edit () | |
preview () | |
save () | |
save co page object | |
cancel () | |
cancel | |
getLinkXML ($a_int_links) | |
get link targets | |
history () | |
history | |
updateHistory () | |
update history | |
setTabs () | |
output tabs | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
_goto ($a_target, $a_target_ref_id="") | |
redirect script | |
Public Member Functions inherited from ilLMObjectGUI | |
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 () | |
show possible action (form buttons) | |
checkTree () | |
check the content object tree | |
activatePage ($a_active) | |
activates page or chapter (currently only for pages implemented) |
Data Fields | |
$obj | |
Data Fields inherited from ilLMObjectGUI | |
$ilias | |
$tpl | |
$lng | |
$obj | |
$ctrl | |
$content_object | |
$actions |
Class ilLMPageObjectGUI.
User Interface for Learning Module Page Objects Editing
ilLMPageObjectGUI: ilPageObjectGUI
Definition at line 41 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::_goto | ( | $a_target, | |
$a_target_ref_id = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 422 of file class.ilLMPageObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 227 of file class.ilLMPageObjectGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 177 of file class.ilLMPageObjectGUI.php.
References executeCommand().
& ilLMPageObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 72 of file class.ilLMPageObjectGUI.php.
References $_GET, $cmd, $ilCtrl, $obj, $ret, ilLMObjectGUI\$tpl, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), ilUtil\getImagePath(), getLinkXML(), and ilPageObjectGUI\setEditPreview().
Referenced by edit(), and preview().
ilLMPageObjectGUI::getLinkXML | ( | $a_int_links | ) |
get link targets
Definition at line 241 of file class.ilLMPageObjectGUI.php.
References $_GET, ilLMObjectGUI\$content_object, $target_arr, $target_id, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), and ilObject\_lookupType().
Referenced by executeCommand().
ilLMPageObjectGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 386 of file class.ilLMPageObjectGUI.php.
References $tab.
Referenced by setTabs().
ilLMPageObjectGUI::history | ( | ) |
history
public
Definition at line 332 of file class.ilLMPageObjectGUI.php.
References setTabs().
ilLMPageObjectGUI::ilLMPageObjectGUI | ( | & | $a_content_obj | ) |
Constructor.
object | $a_content_obj | content object (lm | dbk) public |
Definition at line 51 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ilias, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, and ilLMObjectGUI\ilLMObjectGUI().
ilLMPageObjectGUI::preview | ( | ) |
Definition at line 189 of file class.ilLMPageObjectGUI.php.
References executeCommand(), and setTabs().
ilLMPageObjectGUI::save | ( | ) |
save co page object
Definition at line 200 of file class.ilLMPageObjectGUI.php.
References $_GET, ilLMObjectGUI\checkTree(), ilLMObjectGUI\putInTree(), ilUtil\redirect(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::setLMPageObject | ( | & | $a_pg_obj | ) |
set content object dependent page object (co page)
Definition at line 63 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::setTabs | ( | ) |
output tabs
Definition at line 362 of file class.ilLMPageObjectGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by history(), and preview().
ilLMPageObjectGUI::updateHistory | ( | ) |
update history
Definition at line 350 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 43 of file class.ilLMPageObjectGUI.php.
Referenced by executeCommand().