ILIAS
release_4-3 Revision
|
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 | |
updateHistory () | |
update history | |
_goto ($a_target) | |
redirect script | |
editLayout () | |
Edit layout of page. | |
initEditLayoutForm () | |
Init edit layout form. | |
saveLayout () | |
Save layout. | |
addPageTabs () | |
Add page tabs. | |
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. | |
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 | |
$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 21 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 357 of file class.ilLMPageObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilLMPageObjectGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 523 of file class.ilLMPageObjectGUI.php.
References $ilCtrl.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 229 of file class.ilLMPageObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 175 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 433 of file class.ilLMPageObjectGUI.php.
References $ilCtrl, $obj, ilLMObjectGUI\$tpl, ilUtil\getImagePath(), initEditLayoutForm(), and ilPageObjectGUI\setEditPreview().
& ilLMPageObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 52 of file class.ilLMPageObjectGUI.php.
References $_GET, $cmd, $ilCtrl, $ilSetting, $obj, $ret, ilLMObjectGUI\$tpl, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), ilObjStyleSheet\getEffectiveContentStyleId(), ilUtil\getImagePath(), getLinkXML(), and ilPageObjectGUI\setEditPreview().
Referenced by edit(), and preview().
ilLMPageObjectGUI::getLinkXML | ( | $a_int_links | ) |
get link targets
Definition at line 245 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::ilLMPageObjectGUI | ( | & | $a_content_obj | ) |
Constructor.
object | $a_content_obj | content object (lm | dbk) public |
Definition at line 31 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ilias, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, and ilLMObjectGUI\ilLMObjectGUI().
ilLMPageObjectGUI::initEditLayoutForm | ( | ) |
Init edit layout form.
int | $a_mode | Edit Mode |
Definition at line 464 of file class.ilLMPageObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), ilUtil\img(), and ilRadioMatrixInputGUI\setOptions().
Referenced by editLayout(), and saveLayout().
ilLMPageObjectGUI::preview | ( | ) |
Definition at line 187 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::save | ( | ) |
save co page object
Definition at line 198 of file class.ilLMPageObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), ilLMObjectGUI\putInTree(), ilUtil\redirect(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::saveLayout | ( | ) |
Save layout.
Definition at line 505 of file class.ilLMPageObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, initEditLayoutForm(), ilUtil\sendSuccess(), and ilLMObject\writeLayout().
ilLMPageObjectGUI::setLMPageObject | ( | & | $a_pg_obj | ) |
set content object dependent page object (co page)
Definition at line 43 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::updateHistory | ( | ) |
update history
Definition at line 344 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 23 of file class.ilLMPageObjectGUI.php.
Referenced by editLayout(), and executeCommand().