ILIAS
Release_5_0_x_branch Revision 61816
|
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 | |
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 |
Static Public Member Functions | |
static | _goto ($a_target) |
redirect script |
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: ilLMPageGUI, ilAssGenFeedbackPageGUI
Definition at line 21 of file class.ilLMPageObjectGUI.php.
|
static |
redirect script
string | $a_target |
Definition at line 339 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 503 of file class.ilLMPageObjectGUI.php.
References $ilCtrl.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 211 of file class.ilLMPageObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 157 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 415 of file class.ilLMPageObjectGUI.php.
References $ilCtrl, $lm_set, $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, $lm_set, $obj, $ret, ilLMObjectGUI\$tpl, ilPageObject\_exists(), 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 227 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 440 of file class.ilLMPageObjectGUI.php.
References $ilCtrl, ilLMObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), and ilUtil\img().
Referenced by editLayout(), and saveLayout().
ilLMPageObjectGUI::preview | ( | ) |
Definition at line 169 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::save | ( | ) |
save co page object
Definition at line 180 of file class.ilLMPageObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), ilLMObjectGUI\putInTree(), ilUtil\redirect(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::saveLayout | ( | ) |
Save layout.
Definition at line 485 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 326 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 23 of file class.ilLMPageObjectGUI.php.
Referenced by editLayout(), and executeCommand().