|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
This class represents a repository selector in a property form. More...
Inheritance diagram for ilRepositorySelectorInputGUI:
Collaboration diagram for ilRepositorySelectorInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setValue ($a_value) | |
| Set Value. More... | |
| getValue () | |
| Get Value. More... | |
| setValueByArray ($a_values) | |
| Set value by array. More... | |
| setSelectText ($a_val) | |
| Set select link text. More... | |
| getSelectText () | |
| Get select link text. More... | |
| setHeaderMessage ($a_val) | |
| Set header message. More... | |
| getHeaderMessage () | |
| Get header message. More... | |
| setClickableTypes ($a_types) | |
| Set clickable types. More... | |
| getClickableTypes () | |
| Get clickable types. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| showRepositorySelection () | |
| Select Repository Item. More... | |
| selectRepositoryItem () | |
| Select repository item. More... | |
| reset () | |
| Reset. More... | |
| render ($a_mode="property_form") | |
| Render item. More... | |
| insert ($a_tpl) | |
| Insert property html. More... | |
| getTableFilterHTML () | |
| Get HTML for table filter. More... | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| getType () | |
| Get Type. More... | |
| setTitle ($a_title) | |
| Set Title. More... | |
| getTitle () | |
| Get Title. More... | |
| setPostVar ($a_postvar) | |
| Set Post Variable. More... | |
| getPostVar () | |
| Get Post Variable. More... | |
| getFieldId () | |
| Get Post Variable. More... | |
| setInfo ($a_info) | |
| Set Information Text. More... | |
| getInfo () | |
| Get Information Text. More... | |
| setAlert ($a_alert) | |
| Set Alert Text. More... | |
| getAlert () | |
| Get Alert Text. More... | |
| setRequired ($a_required) | |
| Set Required. More... | |
| getRequired () | |
| Get Required. More... | |
| setDisabled ($a_disabled) | |
| Set Disabled. More... | |
| getDisabled () | |
| Get Disabled. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm ($a_parentform) | |
| Set Parent Form. More... | |
| getParentForm () | |
| Get Parent Form. More... | |
| setParent ($a_val) | |
| Set Parent GUI object. More... | |
| getParent () | |
| Get Parent GUI object. More... | |
| getSubForm () | |
| Get sub form html. More... | |
| hideSubForm () | |
| Sub form hidden on init? More... | |
| setHiddenTitle ($a_val) | |
| Set hidden title (for screenreaders) More... | |
| getHiddenTitle () | |
| Get hidden title. More... | |
| getItemByPostVar ($a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| serialize data More... | |
| unserializeData ($a_data) | |
| unserialize data More... | |
| writeToSession () | |
| Write to session. More... | |
| clearFromSession () | |
| Clear session value. More... | |
| readFromSession () | |
| Read from session. More... | |
| getHiddenTag ($a_post_var, $a_value) | |
| Get hidden tag (used for disabled properties) More... | |
| setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
| Set Multi. More... | |
| getMulti () | |
| Get Multi. More... | |
| setMultiValues (array $a_values) | |
| Set multi values. More... | |
| getMultiValues () | |
| Get multi values. More... | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback ($a_str) | |
| Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value for filter. More... | |
| getFormLabelFor () | |
| Get label "for" attribute value for form. More... | |
Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
Protected Member Functions | |
| getHighlightedNode () | |
| Returns the highlighted object. More... | |
| getVisibleTypes () | |
| returns all visible types like container and clickable types More... | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType ($a_type) | |
| Set Type. More... | |
| getMultiIconsHTML () | |
| Get HTML for multiple value icons. More... | |
Protected Attributes | |
| $tpl | |
| $tree | |
| $user | |
| $obj_data_cache | |
| $options | |
| $value | |
| $container_types = array("root", "cat", "grp", "fold", "crs") | |
Protected Attributes inherited from ilFormPropertyGUI | |
| $ctrl | |
| $lng | |
| $type | |
| $title | |
| $postvar | |
| $info | |
| $alert | |
| $required = false | |
| $parentgui | |
| $parentform | |
| $hidden_title = "" | |
| $multi = false | |
| $multi_sortable = false | |
| $multi_addremove = true | |
| $multi_values | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters ($a_text) |
| Remove prohibited characters see #19159. More... | |
This class represents a repository selector in a property form.
The implementation is kind of beta. It looses all other inputs, if the selector link is used.
@ilCtrl_IsCalledBy ilRepositorySelectorInputGUI: ilFormPropertyDispatchGUI
Definition at line 38 of file class.ilRepositorySelectorInputGUI.php.
| ilRepositorySelectorInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 70 of file class.ilRepositorySelectorInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), setClickableTypes(), setHeaderMessage(), setSelectText(), ilFormPropertyGUI\setType(), and user().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 184 of file class.ilRepositorySelectorInputGUI.php.
References $_POST, ilFormPropertyGUI\$lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::getClickableTypes | ( | ) |
Get clickable types.
Definition at line 174 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getVisibleTypes(), render(), and showRepositorySelection().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getHeaderMessage | ( | ) |
Get header message.
Definition at line 154 of file class.ilRepositorySelectorInputGUI.php.
Referenced by showRepositorySelection().
Here is the caller graph for this function:
|
protected |
Returns the highlighted object.
Definition at line 364 of file class.ilRepositorySelectorInputGUI.php.
References $tree, ilObject\_lookupType(), getValue(), and getVisibleTypes().
Referenced by showRepositorySelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getSelectText | ( | ) |
Get select link text.
Definition at line 134 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Implements ilTableFilterItem.
Definition at line 353 of file class.ilRepositorySelectorInputGUI.php.
References render().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::getValue | ( | ) |
Get Value.
Definition at line 104 of file class.ilRepositorySelectorInputGUI.php.
References $value.
Referenced by getHighlightedNode(), render(), and showRepositorySelection().
Here is the caller graph for this function:
|
protected |
returns all visible types like container and clickable types
Definition at line 380 of file class.ilRepositorySelectorInputGUI.php.
References getClickableTypes().
Referenced by getHighlightedNode(), and showRepositorySelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::insert | ( | $a_tpl | ) |
Insert property html.
Definition at line 343 of file class.ilRepositorySelectorInputGUI.php.
References render().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::render | ( | $a_mode = "property_form" | ) |
Render item.
Definition at line 276 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, ilFormPropertyGUI\$lng, $nd, $obj_data_cache, ilFormPropertyGUI\$title, $tpl, $tree, getClickableTypes(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getParent(), ilFormPropertyGUI\getPostVar(), getSelectText(), getValue(), ilUtil\prepareFormOutput(), and ROOT_FOLDER_ID.
Referenced by getTableFilterHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::reset | ( | ) |
Reset.
Definition at line 258 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, $ilUser, $user, ilFormPropertyGUI\getFieldId(), setValue(), and ilFormPropertyGUI\writeToSession().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::selectRepositoryItem | ( | ) |
Select repository item.
Definition at line 240 of file class.ilRepositorySelectorInputGUI.php.
References $_GET, ilFormPropertyGUI\$ctrl, $ilUser, $user, ilFormPropertyGUI\getFieldId(), setValue(), and ilFormPropertyGUI\writeToSession().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::setClickableTypes | ( | $a_types | ) |
Set clickable types.
| array | clickable types |
Definition at line 164 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setHeaderMessage | ( | $a_val | ) |
Set header message.
| string | header message |
Definition at line 144 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setSelectText | ( | $a_val | ) |
Set select link text.
| string | select link text |
Definition at line 124 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setValue | ( | $a_value | ) |
Set Value.
| int | ref id of selected repository item |
Definition at line 94 of file class.ilRepositorySelectorInputGUI.php.
Referenced by reset(), selectRepositoryItem(), and setValueByArray().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
| array | $a_values | value array |
Definition at line 114 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::showRepositorySelection | ( | ) |
Select Repository Item.
Definition at line 202 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, $ilUser, ilFormPropertyGUI\$lng, $tpl, $tree, $user, getClickableTypes(), getHeaderMessage(), getHighlightedNode(), ilFormPropertyGUI\getPostVar(), getValue(), getVisibleTypes(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Definition at line 62 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 58 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render().
|
protected |
Definition at line 60 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 43 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render(), and showRepositorySelection().
|
protected |
Definition at line 48 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getHighlightedNode(), render(), and showRepositorySelection().
|
protected |
Definition at line 53 of file class.ilRepositorySelectorInputGUI.php.
Referenced by reset(), selectRepositoryItem(), and showRepositorySelection().
|
protected |
Definition at line 61 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getValue().