ILIAS
Release_4_1_x_branch Revision 61804
|
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 () | |
history | |
setTabs () | |
output tabs | |
_goto ($a_target) | |
adds tabs to tab gui object | |
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. | |
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 | |
$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 | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object redirect script |
string | $a_target |
Definition at line 439 of file class.ilLMPageObjectGUI.php.
References $_GET, $ilErr, ilLMObjectGUI\$lng, $ref_id, ilObject\_getAllReferences(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilLMPageObjectGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 608 of file class.ilLMPageObjectGUI.php.
References $ilCtrl.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 228 of file class.ilLMPageObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 174 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 518 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 244 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 549 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 186 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::save | ( | ) |
save co page object
Definition at line 197 of file class.ilLMPageObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), ilLMObjectGUI\putInTree(), ilUtil\redirect(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::saveLayout | ( | ) |
Save layout.
Definition at line 590 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::setTabs | ( | ) |
output tabs
Definition at line 376 of file class.ilLMPageObjectGUI.php.
References ilUtil\getImagePath().
ilLMPageObjectGUI::updateHistory | ( | ) |
history
public update history
Definition at line 365 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 23 of file class.ilLMPageObjectGUI.php.
Referenced by editLayout(), and executeCommand().