ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
Constructor. More... | |
getHook (string $key) | |
addHook (string $key, array $options) | |
removeHook (string $key) | |
addInput (\ilFormPropertyGUI $input, array $options=array()) | |
getTemplateDir () | |
setTemplateDir (string $template_dir) | |
isShowLabel () | |
setShowLabel (bool $show_label) | |
getInputs () | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
setValue (string $a_value) | |
getValue () | |
setValueByArray (array $a_values) | |
Set value by array. More... | |
checkInput () | |
Check input, strip slashes etc. More... | |
addCustomAttribute (string $key, string $value, bool $override=false) | |
getCustomAttributes () | |
render (int $iterator_id=0, bool $clean_render=false) | |
initCSSandJS () | |
insert (ilTemplate $a_tpl) | |
getTableFilterHTML () | |
Get HTML for table filter. More... | |
getToolbarHTML () | |
Get HTML for toolbar. More... | |
isPositionMovable () | |
setPositionMovable (bool $position_movable) | |
isShowLabelOnce () | |
setShowLabelOnce (bool $show_label_once) | |
isShowInfo () | |
setShowInfo (bool $show_info) | |
![]() | |
__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... | |
Data Fields | |
const | HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
const | HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
const | HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Protected Attributes | |
array | $cust_attr = array() |
$value | |
array | $inputs = array() |
array | $input_options = array() |
array | $hooks = array() |
array | $line_values = array() |
string | $template_dir = '' |
array | $post_var_cache = array() |
bool | $show_label = false |
bool | $show_label_once = false |
array | $hidden_inputs = array() |
bool | $position_movable = false |
int | $counter = 0 |
bool | $show_info = false |
![]() | |
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 |
Private Member Functions | |
createInputPostVar (string $iterator_id, \ilFormPropertyGUI $input) | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
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) | |
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 Class ilOrgUnitMultiLineInputGUI
Definition at line 24 of file class.ilOrgUnitMultiLineInputGUI.php.
ilOrgUnitMultiLineInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 50 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
ilOrgUnitMultiLineInputGUI::addCustomAttribute | ( | string | $key, |
string | $value, | ||
bool | $override = false |
||
) |
Definition at line 188 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, and $value.
Referenced by render().
ilOrgUnitMultiLineInputGUI::addHook | ( | string | $key, |
array | $options | ||
) |
Definition at line 67 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\LTI\ToolProvider\$key.
ilOrgUnitMultiLineInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
array | $options = array() |
||
) |
Definition at line 79 of file class.ilOrgUnitMultiLineInputGUI.php.
References ilFormPropertyGUI\getPostVar().
ilOrgUnitMultiLineInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 156 of file class.ilOrgUnitMultiLineInputGUI.php.
References ilFormPropertyGUI\$lng, $valid, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
|
private |
Definition at line 202 of file class.ilOrgUnitMultiLineInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
ilOrgUnitMultiLineInputGUI::getCustomAttributes | ( | ) |
Definition at line 197 of file class.ilOrgUnitMultiLineInputGUI.php.
References $cust_attr.
Referenced by render().
ilOrgUnitMultiLineInputGUI::getHook | ( | string | $key | ) |
Definition at line 58 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by render().
ilOrgUnitMultiLineInputGUI::getInputs | ( | ) |
ilOrgUnitMultiLineInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 371 of file class.ilOrgUnitMultiLineInputGUI.php.
References render().
ilOrgUnitMultiLineInputGUI::getTemplateDir | ( | ) |
Definition at line 86 of file class.ilOrgUnitMultiLineInputGUI.php.
References $template_dir.
ilOrgUnitMultiLineInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 379 of file class.ilOrgUnitMultiLineInputGUI.php.
References render().
ilOrgUnitMultiLineInputGUI::getValue | ( | ) |
Definition at line 128 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, and $out.
Referenced by render().
ilOrgUnitMultiLineInputGUI::initCSSandJS | ( | ) |
Definition at line 337 of file class.ilOrgUnitMultiLineInputGUI.php.
References $tpl.
Referenced by __construct().
ilOrgUnitMultiLineInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 343 of file class.ilOrgUnitMultiLineInputGUI.php.
References $data, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilOrgUnitMultiLineInputGUI::isPositionMovable | ( | ) |
Definition at line 384 of file class.ilOrgUnitMultiLineInputGUI.php.
References $position_movable.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowInfo | ( | ) |
Definition at line 405 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_info.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowLabel | ( | ) |
Definition at line 96 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowLabelOnce | ( | ) |
Definition at line 394 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label_once.
Referenced by render().
ilOrgUnitMultiLineInputGUI::removeHook | ( | string | $key | ) |
Definition at line 72 of file class.ilOrgUnitMultiLineInputGUI.php.
ilOrgUnitMultiLineInputGUI::render | ( | int | $iterator_id = 0 , |
bool | $clean_render = false |
||
) |
ilTemplateException | |
ilException |
Definition at line 215 of file class.ilOrgUnitMultiLineInputGUI.php.
References $inputs, ILIAS\LTI\ToolProvider\$key, $tpl, $value, addCustomAttribute(), createInputPostVar(), ILIAS\Repository\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilOrgUnitMultiLineInputGUI::setMulti | ( | bool | $a_multi, |
bool | $a_sortable = false , |
||
bool | $a_addremove = true |
||
) |
Definition at line 111 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by __construct().
ilOrgUnitMultiLineInputGUI::setPositionMovable | ( | bool | $position_movable | ) |
Definition at line 389 of file class.ilOrgUnitMultiLineInputGUI.php.
References $position_movable.
ilOrgUnitMultiLineInputGUI::setShowInfo | ( | bool | $show_info | ) |
Definition at line 410 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_info.
ilOrgUnitMultiLineInputGUI::setShowLabel | ( | bool | $show_label | ) |
Definition at line 101 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label.
Referenced by setShowLabelOnce().
ilOrgUnitMultiLineInputGUI::setShowLabelOnce | ( | bool | $show_label_once | ) |
Definition at line 399 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label_once, and setShowLabel().
ilOrgUnitMultiLineInputGUI::setTemplateDir | ( | string | $template_dir | ) |
Definition at line 91 of file class.ilOrgUnitMultiLineInputGUI.php.
References $template_dir.
ilOrgUnitMultiLineInputGUI::setValue | ( | string | $a_value | ) |
Definition at line 116 of file class.ilOrgUnitMultiLineInputGUI.php.
References ILIAS\LTI\ToolProvider\$key, and IL_CAL_DATE.
Referenced by setValueByArray().
ilOrgUnitMultiLineInputGUI::setValueByArray | ( | array | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 142 of file class.ilOrgUnitMultiLineInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 42 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 29 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 40 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 34 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 32 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 31 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by getInputs(), and render().
|
protected |
Definition at line 35 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 41 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 37 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 43 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 38 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 39 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 36 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 30 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by addCustomAttribute(), and render().
const ilOrgUnitMultiLineInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 28 of file class.ilOrgUnitMultiLineInputGUI.php.
const ilOrgUnitMultiLineInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 27 of file class.ilOrgUnitMultiLineInputGUI.php.
const ilOrgUnitMultiLineInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 26 of file class.ilOrgUnitMultiLineInputGUI.php.