ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrgUnitMultiLineInputGUI. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. More... | |
getHook ($key) | |
addHook ($key, $options) | |
removeHook ($key) | |
addInput (\ilFormPropertyGUI $input, $options=array()) | |
getTemplateDir () | |
setTemplateDir ($template_dir) | |
isShowLabel () | |
setShowLabel ($show_label) | |
getInputs () | |
Get Options. More... | |
setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | |
setValue ($a_value) | |
Set Value. More... | |
getValue () | |
Get Value. More... | |
setValueByArray ($a_values) | |
Set value by array. More... | |
checkInput () | |
Check input, strip slashes etc. More... | |
addCustomAttribute ($key, $value, $override=false) | |
getCustomAttributes () | |
render ($iterator_id=0, $clean_render=false) | |
Render item. More... | |
initCSSandJS () | |
insert (&$a_tpl) | |
Insert property html. More... | |
getTableFilterHTML () | |
Get HTML for table filter. More... | |
getToolbarHTML () | |
Get HTML for toolbar. More... | |
isPositionMovable () | |
setPositionMovable ($position_movable) | |
isShowLabelOnce () | |
setShowLabelOnce ($show_label_once) | |
isShowInfo () | |
setShowInfo ($show_info) | |
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... | |
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 Member Functions | |
createInputPostVar ($iterator_id, \ilFormPropertyGUI $input) | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. More... | |
getMultiIconsHTML () | |
Get HTML for multiple value icons. More... | |
Protected Attributes | |
$cust_attr = array() | |
$value | |
$inputs = array() | |
$input_options = array() | |
$hooks = array() | |
$line_values = array() | |
$template_dir = '' | |
$post_var_cache = array() | |
$show_label = false | |
$show_label_once = false | |
$hidden_inputs = array() | |
$position_movable = false | |
$counter = 0 | |
$show_info = false | |
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... | |
Class ilOrgUnitMultiLineInputGUI.
Definition at line 9 of file class.ilOrgUnitMultiLineInputGUI.php.
ilOrgUnitMultiLineInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 78 of file class.ilOrgUnitMultiLineInputGUI.php.
References initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
ilOrgUnitMultiLineInputGUI::addCustomAttribute | ( | $key, | |
$value, | |||
$override = false |
|||
) |
$key | ||
$value | ||
bool | false | $override |
Definition at line 287 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by render().
ilOrgUnitMultiLineInputGUI::addHook | ( | $key, | |
$options | |||
) |
array | $options |
Definition at line 103 of file class.ilOrgUnitMultiLineInputGUI.php.
References $key, and PHPMailer\PHPMailer\$options.
ilOrgUnitMultiLineInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
$options = array() |
|||
) |
$input | ||
array | $options |
Definition at line 130 of file class.ilOrgUnitMultiLineInputGUI.php.
References $input, PHPMailer\PHPMailer\$options, and ilFormPropertyGUI\getPostVar().
ilOrgUnitMultiLineInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 249 of file class.ilOrgUnitMultiLineInputGUI.php.
References $_POST, $inputs, ilFormPropertyGUI\$lng, $valid, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
|
protected |
$iterator_id | ||
\ilFormPropertyGUI | $input |
Definition at line 312 of file class.ilOrgUnitMultiLineInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
ilOrgUnitMultiLineInputGUI::getCustomAttributes | ( | ) |
Definition at line 300 of file class.ilOrgUnitMultiLineInputGUI.php.
References $cust_attr.
Referenced by render().
ilOrgUnitMultiLineInputGUI::getHook | ( | $key | ) |
Definition at line 90 of file class.ilOrgUnitMultiLineInputGUI.php.
References $key.
Referenced by render().
ilOrgUnitMultiLineInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 179 of file class.ilOrgUnitMultiLineInputGUI.php.
References $inputs.
ilOrgUnitMultiLineInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 489 of file class.ilOrgUnitMultiLineInputGUI.php.
References $html, and render().
ilOrgUnitMultiLineInputGUI::getTemplateDir | ( | ) |
Definition at line 141 of file class.ilOrgUnitMultiLineInputGUI.php.
References $template_dir.
ilOrgUnitMultiLineInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 500 of file class.ilOrgUnitMultiLineInputGUI.php.
References $html, and render().
ilOrgUnitMultiLineInputGUI::getValue | ( | ) |
Get Value.
Definition at line 217 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by render().
ilOrgUnitMultiLineInputGUI::initCSSandJS | ( | ) |
Definition at line 448 of file class.ilOrgUnitMultiLineInputGUI.php.
References $tpl.
Referenced by __construct().
ilOrgUnitMultiLineInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 460 of file class.ilOrgUnitMultiLineInputGUI.php.
References $data, Sabre\VObject\$output, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), and render().
ilOrgUnitMultiLineInputGUI::isPositionMovable | ( | ) |
Definition at line 511 of file class.ilOrgUnitMultiLineInputGUI.php.
References $position_movable.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowInfo | ( | ) |
Definition at line 548 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_info.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowLabel | ( | ) |
Definition at line 159 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label.
Referenced by render().
ilOrgUnitMultiLineInputGUI::isShowLabelOnce | ( | ) |
Definition at line 529 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label_once.
Referenced by render().
ilOrgUnitMultiLineInputGUI::removeHook | ( | $key | ) |
$key |
Definition at line 114 of file class.ilOrgUnitMultiLineInputGUI.php.
References $key.
ilOrgUnitMultiLineInputGUI::render | ( | $iterator_id = 0 , |
|
$clean_render = false |
|||
) |
Render item.
int | $iterator_id |
Definition at line 330 of file class.ilOrgUnitMultiLineInputGUI.php.
References $input, $inputs, $key, $tpl, $value, addCustomAttribute(), createInputPostVar(), ILIAS\GlobalScreen\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), and ilUtil\prepareFormOutput().
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilOrgUnitMultiLineInputGUI::setMulti | ( | $a_multi, | |
$a_sortable = false , |
|||
$a_addremove = true |
|||
) |
bool | $a_multi |
Definition at line 188 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by __construct().
ilOrgUnitMultiLineInputGUI::setPositionMovable | ( | $position_movable | ) |
boolean | $position_movable |
Definition at line 520 of file class.ilOrgUnitMultiLineInputGUI.php.
References $position_movable.
ilOrgUnitMultiLineInputGUI::setShowInfo | ( | $show_info | ) |
boolean | $show_info |
Definition at line 557 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_info.
ilOrgUnitMultiLineInputGUI::setShowLabel | ( | $show_label | ) |
boolean | $show_label |
Definition at line 168 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label.
Referenced by setShowLabelOnce().
ilOrgUnitMultiLineInputGUI::setShowLabelOnce | ( | $show_label_once | ) |
boolean | $show_label_once |
Definition at line 538 of file class.ilOrgUnitMultiLineInputGUI.php.
References $show_label_once, and setShowLabel().
ilOrgUnitMultiLineInputGUI::setTemplateDir | ( | $template_dir | ) |
mixed | $template_dir |
Definition at line 150 of file class.ilOrgUnitMultiLineInputGUI.php.
References $template_dir.
ilOrgUnitMultiLineInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 199 of file class.ilOrgUnitMultiLineInputGUI.php.
References $key, and IL_CAL_DATE.
Referenced by setValueByArray().
ilOrgUnitMultiLineInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 233 of file class.ilOrgUnitMultiLineInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 65 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 17 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 57 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 33 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 29 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 25 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by checkInput(), getInputs(), and render().
|
protected |
Definition at line 37 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 61 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 45 of file class.ilOrgUnitMultiLineInputGUI.php.
|
protected |
Definition at line 69 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 49 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 53 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 41 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 21 of file class.ilOrgUnitMultiLineInputGUI.php.
Referenced by addCustomAttribute(), and render().
const ilOrgUnitMultiLineInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 13 of file class.ilOrgUnitMultiLineInputGUI.php.
const ilOrgUnitMultiLineInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 12 of file class.ilOrgUnitMultiLineInputGUI.php.
const ilOrgUnitMultiLineInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 11 of file class.ilOrgUnitMultiLineInputGUI.php.