ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 () | |
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... | |
create () | |
structure / page object creation form More... | |
initNewPageForm () | |
Init insert template form. More... | |
save () | |
Save page. More... | |
![]() | |
__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... | |
static | getLayoutCssFix () |
Get layout css fix (workaround for broken radio options) More... | |
Data Fields | |
$obj | |
![]() | |
$tpl | |
$lng | |
$obj | |
$ctrl | |
$content_object | |
$actions | |
Protected Attributes | |
$tabs | |
$settings | |
![]() | |
$ui | |
Class ilLMPageObjectGUI.
User Interface for Learning Module Page Objects Editing
ilLMPageObjectGUI: ilLMPageGUI, ilAssGenFeedbackPageGUI
Definition at line 17 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::__construct | ( | & | $a_content_obj | ) |
Constructor.
object | $a_content_obj | content object (lm | dbk) public |
Definition at line 37 of file class.ilLMPageObjectGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and settings().
|
static |
redirect script
string | $a_target |
Definition at line 377 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 537 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, and $tabs.
ilLMPageObjectGUI::cancel | ( | ) |
cancel
Definition at line 197 of file class.ilLMPageObjectGUI.php.
References $_GET, and ilUtil\redirect().
Referenced by save().
ilLMPageObjectGUI::create | ( | ) |
structure / page object creation form
Definition at line 571 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, ilLMObjectGUI\$lng, $tabs, ilLMObjectGUI\$ui, and initNewPageForm().
ilLMPageObjectGUI::downloadFile | ( | ) |
ilLMPageObjectGUI::edit | ( | ) |
Definition at line 173 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::editLayout | ( | ) |
Edit layout of page.
Definition at line 446 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 62 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(), ILIAS_HTTP_PATH, and ilPageObjectGUI\setEditPreview().
Referenced by edit(), and preview().
|
static |
Get layout css fix (workaround for broken radio options)
Definition at line 650 of file class.ilLMPageObjectGUI.php.
Referenced by ilStructureObjectGUI\insertTemplate().
ilLMPageObjectGUI::getLinkXML | ( | $a_int_links | ) |
get link targets
Definition at line 214 of file class.ilLMPageObjectGUI.php.
References $_GET, ilLMObjectGUI\$content_object, $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 477 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, $ilCtrl, ilLMObjectGUI\$lng, ilObjContentObject\getAvailableLayouts(), ilUtil\getImagePath(), and ilUtil\img().
Referenced by editLayout(), and saveLayout().
ilLMPageObjectGUI::initNewPageForm | ( | ) |
Init insert template form.
Definition at line 590 of file class.ilLMPageObjectGUI.php.
References ilLMObjectGUI\$ctrl, Vendor\Package\$f, ilLMObjectGUI\$lng, ilLMObjectGUI\$ui, and ilPageLayout\MODULE_LM.
Referenced by create(), and save().
ilLMPageObjectGUI::preview | ( | ) |
Definition at line 185 of file class.ilLMPageObjectGUI.php.
References executeCommand().
ilLMPageObjectGUI::save | ( | ) |
Save page.
Definition at line 616 of file class.ilLMPageObjectGUI.php.
References $data, $DIC, ilLMObjectGUI\$lng, cancel(), initNewPageForm(), and ilUtil\stripSlashes().
ilLMPageObjectGUI::saveLayout | ( | ) |
Save layout.
Definition at line 518 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 53 of file class.ilLMPageObjectGUI.php.
ilLMPageObjectGUI::updateHistory | ( | ) |
update history
Definition at line 360 of file class.ilLMPageObjectGUI.php.
References ilHistory\_createEntry().
ilLMPageObjectGUI::$obj |
Definition at line 29 of file class.ilLMPageObjectGUI.php.
Referenced by editLayout(), and executeCommand().
|
protected |
Definition at line 27 of file class.ilLMPageObjectGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 22 of file class.ilLMPageObjectGUI.php.
Referenced by addPageTabs(), create(), editLayout(), and executeCommand().