|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilRepositorySelectorInputGUI:
Collaboration diagram for ilRepositorySelectorInputGUI:Public Member Functions | |
| __construct (string $a_title="", string $a_postvar="") | |
| setValue ($a_value) | |
| getValue () | |
| setValueByArray (array $a_values) | |
| setSelectText (string $a_val) | |
| getSelectText () | |
| setHeaderMessage (string $a_val) | |
| getHeaderMessage () | |
| setClickableTypes (array $a_types) | |
| getClickableTypes () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| getInput () | |
| showRepositorySelection () | |
| selectRepositoryItem () | |
| reset () | |
| render ($a_mode="property_form") | |
| insert (ilTemplate $a_tpl) | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
Public Member Functions inherited from ilFormPropertyGUI | |
| __construct (string $a_title="", string $a_postvar="") | |
| executeCommand () | |
| getType () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setPostVar (string $a_postvar) | |
| getPostVar () | |
| getFieldId () | |
| setInfo (string $a_info) | |
| getInfo () | |
| setAlert (string $a_alert) | |
| getAlert () | |
| setRequired (bool $a_required) | |
| getRequired () | |
| setDisabled (bool $a_disabled) | |
| getDisabled () | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| setParentForm (ilPropertyFormGUI $a_parentform) | |
| getParentForm () | |
| setParent (ilFormPropertyGUI $a_val) | |
| getParent () | |
| getSubForm () | |
| hideSubForm () | |
| setHiddenTitle (string $a_val) | |
| getHiddenTitle () | |
| getItemByPostVar (string $a_post_var) | |
| Get item by post var. More... | |
| serializeData () | |
| unserializeData (string $a_data) | |
| setParentTable ($a_val) | |
| Set parent table. More... | |
| getParentTable () | |
| Get parent table. More... | |
| writeToSession () | |
| clearFromSession () | |
| readFromSession () | |
| getHiddenTag (string $a_post_var, string $a_value) | |
| setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
| getMulti () | |
| setMultiValues (array $a_values) | |
| getMultiValues () | |
| getContentOutsideFormTag () | |
| Get content that has to reside outside of the parent form tag, e.g. More... | |
| stripSlashesAddSpaceFallback (string $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... | |
| setRequestParam (string $key, $val) | |
| This writes the request (aka post) values. 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 () | |
| getVisibleTypes () | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| setType (string $a_type) | |
| checkParentFormTable () | |
| getSessionKey () | |
| getMultiIconsHTML () | |
| int ($key) | |
| intArray ($key) | |
| str ($key) | |
| raw ($key) | |
| strArray ($key) | |
| arrayArray ($key) | |
| isRequestParamArray (string $key) | |
| getRequestParam (string $key, Refinery\Transformation $t) | |
Protected Attributes | |
| array | $clickable_types = [] |
| string | $hm = "" |
| string | $select_text = "" |
| ilGlobalTemplateInterface | $tpl |
| ilTree | $tree |
| ilObjUser | $user |
| ilObjectDataCache | $obj_data_cache |
| array | $options = [] |
| int | $value = 0 |
| array | $container_types = array("root", "cat", "grp", "fold", "crs") |
Protected Attributes inherited from ilFormPropertyGUI | |
| array | $set_params = [] |
| ilTable2GUI | $parent_table = null |
| ilFormPropertyGUI | $parent_gui = null |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| string | $type = "" |
| string | $title = "" |
| string | $postvar = "" |
| string | $info = "" |
| string | $alert = "" |
| bool | $required = false |
| ilPropertyFormGUI | $parentform = null |
| string | $hidden_title = "" |
| bool | $multi = false |
| bool | $multi_sortable = false |
| bool | $multi_addremove = true |
| array | $multi_values = [] |
| RequestInterface | $request |
| HTTP Services | $http |
| Refinery Factory | $refinery = null |
| bool | $disabled = false |
| ilGlobalTemplateInterface | $global_tpl = null |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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.
Definition at line 30 of file class.ilRepositorySelectorInputGUI.php.
| ilRepositorySelectorInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Definition at line 43 of file class.ilRepositorySelectorInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setClickableTypes(), setHeaderMessage(), setSelectText(), ilFormPropertyGUI\setType(), ilLanguage\txt(), and ILIAS\Repository\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 113 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::getClickableTypes | ( | ) |
Definition at line 108 of file class.ilRepositorySelectorInputGUI.php.
References $clickable_types.
Referenced by getVisibleTypes(), render(), and showRepositorySelection().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getHeaderMessage | ( | ) |
Definition at line 98 of file class.ilRepositorySelectorInputGUI.php.
References $hm.
Referenced by showRepositorySelection().
Here is the caller graph for this function:
|
protected |
Definition at line 256 of file class.ilRepositorySelectorInputGUI.php.
References $tree, ilObject\_lookupType(), ilTree\getParentId(), getValue(), and getVisibleTypes().
Referenced by showRepositorySelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getInput | ( | ) |
Definition at line 124 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::getSelectText | ( | ) |
Definition at line 88 of file class.ilRepositorySelectorInputGUI.php.
References $select_text.
Referenced by render().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 250 of file class.ilRepositorySelectorInputGUI.php.
References render().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::getValue | ( | ) |
Definition at line 73 of file class.ilRepositorySelectorInputGUI.php.
References $value.
Referenced by getHighlightedNode(), render(), and showRepositorySelection().
Here is the caller graph for this function:
|
protected |
Definition at line 267 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 | ( | ilTemplate | $a_tpl | ) |
Definition at line 243 of file class.ilRepositorySelectorInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::render | ( | $a_mode = "property_form" | ) |
Definition at line 180 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, ilFormPropertyGUI\$lng, $nd, $obj_data_cache, ilFormPropertyGUI\$parent_gui, ilFormPropertyGUI\$title, $tpl, $tree, ilGlobalTemplateInterface\get(), getClickableTypes(), ilFormPropertyGUI\getFieldId(), ilTree\getNodeData(), ilFormPropertyGUI\getParentTable(), ilFormPropertyGUI\getPostVar(), getSelectText(), getValue(), ilLegacyFormElementsUtil\prepareFormOutput(), ROOT_FOLDER_ID, ilGlobalTemplateInterface\setVariable(), and ilLanguage\txt().
Referenced by getTableFilterHTML(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::reset | ( | ) |
Definition at line 170 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, setValue(), and ilFormPropertyGUI\writeToSession().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::selectRepositoryItem | ( | ) |
Definition at line 160 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, setValue(), and ilFormPropertyGUI\writeToSession().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::setClickableTypes | ( | array | $a_types | ) |
Definition at line 103 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setHeaderMessage | ( | string | $a_val | ) |
Definition at line 93 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setSelectText | ( | string | $a_val | ) |
Definition at line 83 of file class.ilRepositorySelectorInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setValue | ( | $a_value | ) |
| int | string | $a_value |
Definition at line 68 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\int().
Referenced by reset(), selectRepositoryItem(), and setValueByArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositorySelectorInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 78 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilRepositorySelectorInputGUI::showRepositorySelection | ( | ) |
Definition at line 129 of file class.ilRepositorySelectorInputGUI.php.
References ilFormPropertyGUI\$ctrl, $tpl, getClickableTypes(), getHeaderMessage(), getHighlightedNode(), ilFormPropertyGUI\getPostVar(), getValue(), getVisibleTypes(), ilGlobalTemplateInterface\setContent(), and ilCtrl\setParameter().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getClickableTypes().
|
protected |
Definition at line 41 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 33 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getHeaderMessage().
|
protected |
Definition at line 38 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render().
|
protected |
Definition at line 39 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 34 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getSelectText().
|
protected |
Definition at line 35 of file class.ilRepositorySelectorInputGUI.php.
Referenced by render(), and showRepositorySelection().
|
protected |
Definition at line 36 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getHighlightedNode(), and render().
|
protected |
Definition at line 37 of file class.ilRepositorySelectorInputGUI.php.
|
protected |
Definition at line 40 of file class.ilRepositorySelectorInputGUI.php.
Referenced by getValue().