ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilLMPageObjectGUI. More...
Public Member Functions | |
__construct (&$a_content_obj) | |
Constructor. More... | |
setLMPageObject ($a_pg_obj) | |
Set content object dependent page object (co page) More... | |
executeCommand () | |
execute command More... | |
edit () | |
preview () | |
save () | |
save co page object More... | |
cancel () | |
cancel More... | |
getLinkXML ($a_int_links) | |
get link targets More... | |
updateHistory () | |
update history More... | |
editLayout () | |
Edit layout of page. More... | |
initEditLayoutForm () | |
Init edit layout form. More... | |
saveLayout () | |
Save layout. More... | |
addPageTabs () | |
Add page tabs. More... | |
downloadFile () | |
download file of file lists More... | |
Public Member Functions inherited from ilLMObjectGUI | |
__construct (&$a_content_obj) | |
constructor More... | |
setActions ($a_actions="") | |
build action array More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
create () | |
structure / page object creation form More... | |
putInTree () | |
put this object into content object tree More... | |
delete () | |
Confirm deletion screen (delete page or structure objects) More... | |
cancelDelete () | |
cancel deletion of page/structure objects More... | |
confirmedDelete () | |
page and structure object deletion More... | |
add_cell ($val, $link="") | |
output a cell in object list More... | |
showActions ($a_actions) | |
show possible action (form buttons) More... | |
checkTree () | |
check the content object tree More... | |
Static Public Member Functions | |
static | _goto ($a_target) |
redirect script More... | |
Data Fields | |
$obj | |
Data Fields inherited from ilLMObjectGUI | |
$tpl | |
$lng | |
$obj | |
$ctrl | |
$content_object | |
$actions | |
Protected Attributes | |
$tabs | |
$settings | |
Class ilLMPageObjectGUI.
User Interface for Learning Module Page Objects Editing
ilLMPageObjectGUI: ilLMPageGUI, ilAssGenFeedbackPageGUI
Definition at line 21 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::__construct | ( | & | $a_content_obj | ) |
Constructor.
object | $a_content_obj | content object (lm | dbk) public |
Definition at line 41 of file class.ilLMPageObjectGUI.php.
References $DIC, and settings().
|
static |
redirect script
string | $a_target |
Definition at line 384 of file class.ilLMPageObjectGUI.php.
References $_GET, $DIC, $ilErr, ilLMObjectGUI\$lng, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilLMPageObjectGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 546 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, and $tabs.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 231 of file class.ilLMPageObjectGUI.php.
References $_GET, and ilUtil\redirect().
ilLMPageObjectGUI::downloadFile | ( | ) |
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 176 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 454 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, $lm_set, $obj, $tabs, ilLMObjectGUI\$tpl, ilUtil\getImagePath(), initEditLayoutForm(), and ilPageObjectGUI\setEditPreview().
ilLMPageObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 66 of file class.ilLMPageObjectGUI.php.
References $_GET, ilLMObjectGUI\$ctrl, $ilCtrl, $ilSetting, $lm_set, $obj, $ret, $settings, $tabs, 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 248 of file class.ilLMPageObjectGUI.php.
References $_GET, ilLMObjectGUI\$content_object, $target, $target_arr, $target_id, $type, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilUserUtil\getNamePresentation(), and ilUserUtil\hasPublicProfile().
Referenced by executeCommand().
ilLMPageObjectGUI::initEditLayoutForm | ( | ) |
Init edit layout form.
int | $a_mode | Edit Mode |
Definition at line 485 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, $l, ilLMObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), and ilUtil\img().
Referenced by editLayout(), and saveLayout().
ilLMPageObjectGUI::preview | ( | ) |
Definition at line 188 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::save | ( | ) |
save co page object
Definition at line 199 of file class.ilLMPageObjectGUI.php.
References $_GET, $_POST, ilLMObjectGUI\checkTree(), ilLMObjectGUI\putInTree(), ilUtil\redirect(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::saveLayout | ( | ) |
Save layout.
Definition at line 527 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, ilLMObjectGUI\$lng, ilLMObjectGUI\$tpl, initEditLayoutForm(), and ilLMObject\writeLayout().
ilLMPageObjectGUI::setLMPageObject | ( | $a_pg_obj | ) |
Set content object dependent page object (co page)
Definition at line 57 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::updateHistory | ( | ) |
update history
Definition at line 366 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 33 of file class.ilLMPageObjectGUI.php.
Referenced by editLayout(), and executeCommand().
|
protected |
Definition at line 31 of file class.ilLMPageObjectGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 26 of file class.ilLMPageObjectGUI.php.
Referenced by addPageTabs(), editLayout(), and executeCommand().