ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_ref_id=0) | |
Constructor. | |
& | executeCommand () |
execute command | |
addLocatorItems () | |
Add object to locator. | |
cloneAll () | |
initEditForm ($a_mode="edit", $a_new_type="") | |
Init object creation form. | |
afterSave ($newObj) | |
After saving public. | |
getAfterCreationCmd () | |
Cmd that will be redirected to after creation of a new object. | |
getStandardCmd () | |
addInfoTab () | |
Add info screen tab. | |
addPermissionTab () | |
Add permission tab. | |
infoScreen () | |
show information screen | |
addInfoItems ($info) | |
Add items to info screen. | |
_goto ($a_target) | |
Goto redirection. | |
Public Member Functions inherited from ilObject2GUI | |
__construct ($a_id=0, $a_call_by_reference=true) | |
Constructor. | |
performCommand ($cmd) | |
Handles all commmands of this class, centralizes permission checks. | |
withReferences () | |
Final/Private declaration of unchanged parent methods. | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getHTML () | |
isVisible () | |
deleteObject () | |
trashObject () | |
Show trash content of object. | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
viewObject () | |
list childs of current object | |
getAdminTabs ($a) | |
getTemplateFile () | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
getType () | |
Functions that must be overwritten. | |
create () | |
Deleted in ilObject. | |
save () | |
save object | |
getEditFormValues () | |
Get values for edit form. | |
cancelCreation ($in_rep=false) | |
cancel action and go back to previous page public | |
editObject () | |
edit object | |
cancelUpdate () | |
cancel action and go back to previous page public | |
updateObject () | |
updates object entry in object_data | |
afterUpdate () | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
createObject () | |
create new object form | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
saveObject () | |
save object | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. |
Protected Member Functions | |
txt ($a_var) | |
Wrapper for txt function. | |
Protected Member Functions inherited from ilObject2GUI | |
afterConstructor () | |
Do anything that should be done after constructor in here. | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
getTargetFrame () | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
redirectToRefId () | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
getReturnLocation () | |
Deprecated functions. | |
setReturnLocation () | |
showActions () | |
getTitlesByRefId () | |
getTabs () | |
__showButton () | |
hitsperpageObject () | |
__initTableGUI () | |
__setTableGUIBasicData () | |
__showClipboardTable () | |
setTabs () | |
set admin tabs public | |
cancel () | |
cancel action and go back to previous page public | |
Protected Member Functions inherited from ilObjectGUI | |
setAdminTabs () | |
set admin tabs public | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value |
Private Member Functions | |
getPlugin () | |
Get plugin object. |
Additional Inherited Members | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false |
Definition at line 14 of file class.ilObjectPluginGUI.php.
ilObjectPluginGUI::__construct | ( | $a_ref_id = 0 | ) |
Constructor.
Definition at line 19 of file class.ilObjectPluginGUI.php.
References ilPlugin\getPluginObject(), ilObject2GUI\getType(), IL_COMP_SERVICE, and ilPlugin\lookupNameForId().
ilObjectPluginGUI::_goto | ( | $a_target | ) |
Goto redirection.
Definition at line 313 of file class.ilObjectPluginGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$ref_id, $t, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjectPluginGUI::addInfoItems | ( | $info | ) |
Add items to info screen.
Definition at line 306 of file class.ilObjectPluginGUI.php.
Referenced by infoScreen().
ilObjectPluginGUI::addInfoTab | ( | ) |
Add info screen tab.
Definition at line 247 of file class.ilObjectPluginGUI.php.
ilObjectPluginGUI::addLocatorItems | ( | ) |
Add object to locator.
Reimplemented from ilObject2GUI.
Definition at line 136 of file class.ilObjectPluginGUI.php.
References $_GET, ilObject2GUI\getCreationMode(), and getStandardCmd().
ilObjectPluginGUI::addPermissionTab | ( | ) |
Add permission tab.
Definition at line 264 of file class.ilObjectPluginGUI.php.
References $ilCtrl.
ilObjectPluginGUI::afterSave | ( | $newObj | ) |
After saving public.
Definition at line 216 of file class.ilObjectPluginGUI.php.
References $ilCtrl, getAfterCreationCmd(), and ilUtil\sendSuccess().
|
final |
Definition at line 148 of file class.ilObjectPluginGUI.php.
References ilObject2GUI\cloneAllObject().
& ilObjectPluginGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObject2GUI.
Definition at line 34 of file class.ilObjectPluginGUI.php.
References $_GET, $cmd, $ilCtrl, ilObjectGUI\$lng, $ret, ilObjectGUI\$tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject2GUI\addAdminLocatorItems(), ilObject2GUI\checkPermission(), ilObject2GUI\getCreationMode(), getStandardCmd(), ilObject2GUI\getType(), infoScreen(), ilObject2GUI\performCommand(), ilObjectGUI\setAdminTabs(), ilObject2GUI\setLocator(), ilObject2GUI\setTabs(), txt(), and ilObject2GUI\viewObject().
|
abstract |
Cmd that will be redirected to after creation of a new object.
Referenced by afterSave().
|
finalprivate |
Get plugin object.
Definition at line 155 of file class.ilObjectPluginGUI.php.
Referenced by txt().
|
abstract |
ilObjectPluginGUI::infoScreen | ( | ) |
show information screen
Definition at line 281 of file class.ilObjectPluginGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $ret, ilObjectGUI\$tpl, addInfoItems(), and ilObject2GUI\checkPermission().
Referenced by executeCommand().
ilObjectPluginGUI::initEditForm | ( | $a_mode = "edit" , |
|
$a_new_type = "" |
|||
) |
Init object creation form.
int | $a_mode | Edit Mode |
Reimplemented from ilObject2GUI.
Definition at line 173 of file class.ilObjectPluginGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilTextAreaInputGUI\setCols(), ilTextInputGUI\setMaxLength(), and txt().
|
finalprotected |
Wrapper for txt function.
Definition at line 163 of file class.ilObjectPluginGUI.php.
References getPlugin().
Referenced by executeCommand(), and initEditForm().