ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclGenericMultiInputGUI. 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) | |
isRenderOneForEmptyValue () | |
setRenderOneForEmptyValue ($render_one_for_empty_value) | |
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 | |
$render_one_for_empty_value = true | |
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 ilDclGenericMultiInputGUI.
Definition at line 10 of file class.ilOrgUnitGenericMultiInputGUI.php.
ilOrgUnitGenericMultiInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 82 of file class.ilOrgUnitGenericMultiInputGUI.php.
References initCSSandJS(), setMulti(), and ilFormPropertyGUI\setType().
ilOrgUnitGenericMultiInputGUI::addCustomAttribute | ( | $key, | |
$value, | |||
$override = false |
|||
) |
$key | ||
$value | ||
bool | false | $override |
Definition at line 297 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::addHook | ( | $key, | |
$options | |||
) |
array | $options |
Definition at line 107 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $key, and PHPMailer\PHPMailer\$options.
ilOrgUnitGenericMultiInputGUI::addInput | ( | \ilFormPropertyGUI | $input, |
$options = array() |
|||
) |
$input | ||
array | $options |
Definition at line 134 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $input, PHPMailer\PHPMailer\$options, and ilFormPropertyGUI\getPostVar().
ilOrgUnitGenericMultiInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 253 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $_POST, $inputs, ilFormPropertyGUI\$lng, $valid, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
|
protected |
$iterator_id | ||
\ilFormPropertyGUI | $input |
Definition at line 322 of file class.ilOrgUnitGenericMultiInputGUI.php.
References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getCustomAttributes | ( | ) |
Definition at line 310 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $cust_attr.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getHook | ( | $key | ) |
Definition at line 94 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $key.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::getInputs | ( | ) |
Get Options.
Definition at line 183 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $inputs.
ilOrgUnitGenericMultiInputGUI::getTableFilterHTML | ( | ) |
Get HTML for table filter.
Definition at line 516 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $html, and render().
ilOrgUnitGenericMultiInputGUI::getTemplateDir | ( | ) |
Definition at line 145 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
ilOrgUnitGenericMultiInputGUI::getToolbarHTML | ( | ) |
Get HTML for toolbar.
Definition at line 527 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $html, and render().
ilOrgUnitGenericMultiInputGUI::getValue | ( | ) |
Get Value.
Definition at line 221 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::initCSSandJS | ( | ) |
Definition at line 460 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $tpl.
Referenced by __construct().
ilOrgUnitGenericMultiInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 472 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, PHPMailer\PHPMailer\$options, Sabre\VObject\$output, $tpl, ilGlyphGUI\ADD, ilGlyphGUI\get(), ilFormPropertyGUI\getMulti(), and render().
ilOrgUnitGenericMultiInputGUI::isPositionMovable | ( | ) |
Definition at line 538 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isRenderOneForEmptyValue | ( | ) |
Definition at line 593 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
ilOrgUnitGenericMultiInputGUI::isShowInfo | ( | ) |
Definition at line 575 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isShowLabel | ( | ) |
Definition at line 163 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::isShowLabelOnce | ( | ) |
Definition at line 556 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once.
Referenced by render().
ilOrgUnitGenericMultiInputGUI::removeHook | ( | $key | ) |
$key |
Definition at line 118 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $key.
ilOrgUnitGenericMultiInputGUI::render | ( | $iterator_id = 0 , |
|
$clean_render = false |
|||
) |
Render item.
int | $iterator_id |
Definition at line 340 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $input, $inputs, $key, $tpl, $value, ilGlyphGUI\ADD, addCustomAttribute(), createInputPostVar(), ilGlyphGUI\DOWN, ilGlyphGUI\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isPositionMovable(), isShowInfo(), isShowLabel(), isShowLabelOnce(), ilUtil\prepareFormOutput(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.
Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().
ilOrgUnitGenericMultiInputGUI::setMulti | ( | $a_multi, | |
$a_sortable = false , |
|||
$a_addremove = true |
|||
) |
bool | $a_multi |
Definition at line 192 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by __construct().
ilOrgUnitGenericMultiInputGUI::setPositionMovable | ( | $position_movable | ) |
boolean | $position_movable |
Definition at line 547 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $position_movable.
ilOrgUnitGenericMultiInputGUI::setRenderOneForEmptyValue | ( | $render_one_for_empty_value | ) |
bool | $render_one_for_empty_value |
Definition at line 602 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $render_one_for_empty_value.
ilOrgUnitGenericMultiInputGUI::setShowInfo | ( | $show_info | ) |
boolean | $show_info |
Definition at line 584 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_info.
ilOrgUnitGenericMultiInputGUI::setShowLabel | ( | $show_label | ) |
boolean | $show_label |
Definition at line 172 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label.
Referenced by setShowLabelOnce().
ilOrgUnitGenericMultiInputGUI::setShowLabelOnce | ( | $show_label_once | ) |
boolean | $show_label_once |
Definition at line 565 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $show_label_once, and setShowLabel().
ilOrgUnitGenericMultiInputGUI::setTemplateDir | ( | $template_dir | ) |
mixed | $template_dir |
Definition at line 154 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $template_dir.
ilOrgUnitGenericMultiInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 203 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $key, and IL_CAL_DATE.
Referenced by setValueByArray().
ilOrgUnitGenericMultiInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 237 of file class.ilOrgUnitGenericMultiInputGUI.php.
References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 66 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 18 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getCustomAttributes().
|
protected |
Definition at line 58 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 34 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 30 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 26 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by checkInput(), getInputs(), and render().
|
protected |
Definition at line 38 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 62 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isPositionMovable(), and setPositionMovable().
|
protected |
Definition at line 46 of file class.ilOrgUnitGenericMultiInputGUI.php.
|
protected |
Definition at line 74 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isRenderOneForEmptyValue(), and setRenderOneForEmptyValue().
|
protected |
Definition at line 70 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowInfo(), and setShowInfo().
|
protected |
Definition at line 50 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabel(), and setShowLabel().
|
protected |
Definition at line 54 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by isShowLabelOnce(), and setShowLabelOnce().
|
protected |
Definition at line 42 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by getTemplateDir(), and setTemplateDir().
|
protected |
Definition at line 22 of file class.ilOrgUnitGenericMultiInputGUI.php.
Referenced by addCustomAttribute(), and render().
const ilOrgUnitGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render" |
Definition at line 14 of file class.ilOrgUnitGenericMultiInputGUI.php.
const ilOrgUnitGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled" |
Definition at line 13 of file class.ilOrgUnitGenericMultiInputGUI.php.
const ilOrgUnitGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable" |
Definition at line 12 of file class.ilOrgUnitGenericMultiInputGUI.php.