ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilFormPropertyGUI Class Reference

This class represents a property in a property form. More...

+ Inheritance diagram for ilFormPropertyGUI:
+ Collaboration diagram for ilFormPropertyGUI:

Public Member Functions

 __construct ($a_title="", $a_postvar="")
 Constructor.
executeCommand ()
 Execute command.
 getType ()
 Get Type.
 setTitle ($a_title)
 Set Title.
 getTitle ()
 Get Title.
 setPostVar ($a_postvar)
 Set Post Variable.
 getPostVar ()
 Get Post Variable.
 getFieldId ()
 Get Post Variable.
 setInfo ($a_info)
 Set Information Text.
 getInfo ()
 Get Information Text.
 setAlert ($a_alert)
 Set Alert Text.
 getAlert ()
 Get Alert Text.
 setRequired ($a_required)
 Set Required.
 getRequired ()
 Get Required.
 setDisabled ($a_disabled)
 Set Disabled.
 getDisabled ()
 Get Disabled.
 checkInput ()
 Check input, strip slashes etc.
 setParentForm ($a_parentform)
 Set Parent Form.
 getParentForm ()
 Get Parent Form.
 setParent ($a_val)
 Set Parent GUI object.
 getParent ()
 Get Parent GUI object.
 getSubForm ()
 Get sub form html.
 hideSubForm ()
 Sub form hidden on init?
 setHiddenTitle ($a_val)
 Set hidden title (for screenreaders)
 getHiddenTitle ()
 Get hidden title.
 getItemByPostVar ($a_post_var)
 Get item by post var.
 serializeData ()
 serialize data
 unserializeData ($a_data)
 unserialize data
 writeToSession ()
 Write to session.
 clearFromSession ()
 Clear session value.
 readFromSession ()
 Read from session.
 getHiddenTag ($a_post_var, $a_value)
 Get hidden tag (used for disabled properties)
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 Set Multi.
 getMulti ()
 Get Multi.
 setMultiValues (array $a_values)
 Set multi values.
 getMultiValues ()
 Get multi values.
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g.

Protected Member Functions

 setType ($a_type)
 Set Type.
 getMultiIconsHTML ()
 Get HTML for multiple value icons.

Protected Attributes

 $type
 $title
 $postvar
 $info
 $alert
 $required = false
 $parentgui
 $parentform
 $hidden_title = ""
 $multi = false
 $multi_sortable = false
 $multi_addremove = true
 $multi_values

Detailed Description

This class represents a property in a property form.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 11 of file class.ilFormPropertyGUI.php.

Constructor & Destructor Documentation

ilFormPropertyGUI::__construct (   $a_title = "",
  $a_postvar = "" 
)

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

Reimplemented in ilTextAreaInputGUI, ilMultiSelectInputGUI, ilRecurrenceInputGUI, ilEMailInputGUI, ilDurationInputGUI, ilRepositorySelectorInputGUI, ilCategoryWizardInputGUI, ilDateDurationInputGUI, ilMatrixRowWizardInputGUI, ilCheckboxGroupInputGUI, ilCheckboxInputGUI, ilCSSRectInputGUI, ilCustomInputGUI, ilLocationInputGUI, ilRadioGroupInputGUI, ilTRBLColorPickerInputGUI, ilFeedUrlInputGUI, ilFileWizardInputGUI, ilTextInputGUI, ilTextWizardInputGUI, ilNumericStyleValueInputGUI, ilTRBLNumericStyleValueInputGUI, ilRegExpInputGUI, ilBackgroundImageInputGUI, ilBackgroundPositionInputGUI, ilFontSizeInputGUI, ilTRBLBorderWidthInputGUI, ilCaptchaInputGUI, ilLuceneQueryInputGUI, ilKprimChoiceWizardInputGUI, ilDateTimeInputGUI, ilMatchingWizardInputGUI, ilNumberInputGUI, ilDragDropFileInputGUI, ilPasswordInputGUI, ilLinkInputGUI, ilImagemapFileInputGUI, ilKVPWizardInputGUI, ilFileInputGUI, ilSingleChoiceWizardInputGUI, ilAlphabetInputGUI, ilSelectInputGUI, ilUserLoginInputGUI, ilCopyrightInputGUI, ilAnswerWizardInputGUI, ilErrorTextWizardInputGUI, ilImageWizardInputGUI, ilSuggestedSolutionSelectorGUI, ilMatchingPairWizardInputGUI, ilNestedListInputGUI, ilAdvSelectInputGUI, ilFlashFileInputGUI, ilTypicalLearningTimeInputGUI, ilCountrySelectInputGUI, ilScheduleInputGUI, ilGloAdvColSortInputGUI, ilColorPickerInputGUI, ilWidthHeightInputGUI, ilTRBLBorderStyleInputGUI, ilRandomTestROInputGUI, ilImageFileInputGUI, and ilSelectBuilderInputGUI.

Definition at line 33 of file class.ilFormPropertyGUI.php.

References setDisabled(), setPostVar(), and setTitle().

{
$this->setTitle($a_title);
$this->setPostVar($a_postvar);
$this->setDisabled(false);
}

+ Here is the call graph for this function:

Member Function Documentation

ilFormPropertyGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Returns
boolean Input ok, true/false

Reimplemented in ilTextAreaInputGUI, ilDateDurationInputGUI, ilNumberInputGUI, ilDurationInputGUI, ilDateTimeInputGUI, ilTextInputGUI, ilCombinationInputGUI, ilPasswordInputGUI, ilNestedOrderingGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, ilKVPWizardInputGUI, ilFileInputGUI, ilErrorTextWizardInputGUI, ilCSSRectInputGUI, ilMultiSelectInputGUI, ilSingleChoiceWizardInputGUI, ilAnswerWizardInputGUI, ilTRBLNumericStyleValueInputGUI, ilMatrixRowWizardInputGUI, ilMatchingWizardInputGUI, ilLinkInputGUI, ilRepositorySelectorInputGUI, ilTRBLBorderWidthInputGUI, ilCheckboxGroupInputGUI, ilCheckboxInputGUI, ilSuggestedSolutionSelectorGUI, ilLocationInputGUI, ilDragDropFileInputGUI, ilImageWizardInputGUI, ilImagemapFileInputGUI, ilBackgroundPositionInputGUI, ilTRBLBorderStyleInputGUI, ilCaptchaInputGUI, ilMatchingPairWizardInputGUI, ilCopyrightInputGUI, ilFileWizardInputGUI, ilRadioGroupInputGUI, ilExplorerSelectInputGUI, ilUserLoginInputGUI, ilTextWizardInputGUI, ilEMailInputGUI, ilKprimChoiceWizardInputGUI, ilSelectInputGUI, ilTypicalLearningTimeInputGUI, ilCustomInputGUI, ilWidthHeightInputGUI, ilNumericStyleValueInputGUI, ilRegExpInputGUI, ilBackgroundImageInputGUI, ilAlphabetInputGUI, ilNestedListInputGUI, ilAdvSelectInputGUI, ilRecurrenceInputGUI, ilScheduleInputGUI, ilChatroomSmiliesCurrentSmileyFormElement, ilClozeGapInputBuilderGUI, ilFlashFileInputGUI, ilHiddenInputGUI, ilFontSizeInputGUI, ilRandomTestROInputGUI, ilSelectBuilderInputGUI, ilBirthdayInputGUI, ilGloAdvColSortInputGUI, ilFeedUrlInputGUI, ilLuceneQueryInputGUI, ilMultipleChoiceWizardInputGUI, ilColorPickerInputGUI, ilEssayKeywordWizardInputGUI, ilNonEditableValueGUI, ilFormulaInputGUI, ilTermsOfServiceSignedDocumentFormElementGUI, ilSolutionTitleInputGUI, ilMailQuickFilterInputGUI, ilCharSelectorRadioGroupInputGUI, and ilDclCheckboxInputGUI.

Definition at line 211 of file class.ilFormPropertyGUI.php.

{
return false; // please overwrite
}
ilFormPropertyGUI::clearFromSession ( )

Clear session value.

Definition at line 351 of file class.ilFormPropertyGUI.php.

References $_SESSION, getFieldId(), and getParent().

{
$parent = $this->getParent();
if (!is_object($parent))
{
die("You must set parent for ".get_class($this)." to use serialize feature.");
}
$_SESSION["form_".$parent->getId()][$this->getFieldId()] = false;
}

+ Here is the call graph for this function:

& ilFormPropertyGUI::executeCommand ( )

Execute command.

Reimplemented in ilLinkInputGUI.

Definition at line 43 of file class.ilFormPropertyGUI.php.

References $cmd, and $ilCtrl.

{
global $ilCtrl;
$next_class = $ilCtrl->getNextClass($this);
$cmd = $ilCtrl->getCmd();
return $this->$cmd();
}
ilFormPropertyGUI::getAlert ( )

Get Alert Text.

Returns
string Alert Text

Definition at line 161 of file class.ilFormPropertyGUI.php.

References $alert.

{
return $this->alert;
}
ilFormPropertyGUI::getContentOutsideFormTag ( )

Get content that has to reside outside of the parent form tag, e.g.

panels/layers

Returns
string

Reimplemented in ilLinkInputGUI.

Definition at line 477 of file class.ilFormPropertyGUI.php.

{
}
ilFormPropertyGUI::getFieldId ( )

Get Post Variable.

Returns
string Post Variable

Definition at line 118 of file class.ilFormPropertyGUI.php.

References getPostVar().

Referenced by ilADTSearchBridge\addToParentElement(), clearFromSession(), getMultiIconsHTML(), ilHiddenInputGUI\insert(), ilImageFileInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilCopyrightInputGUI\insert(), ilEMailInputGUI\insert(), ilUserLoginInputGUI\insert(), ilTextWizardInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilColorPickerInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilCSSRectInputGUI\insert(), ilFileWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilImageWizardInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilFlashFileInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextAreaInputGUI\insert(), readFromSession(), ilGloAdvColSortInputGUI\render(), ilNonEditableValueGUI\render(), ilSelectInputGUI\render(), ilExplorerSelectInputGUI\render(), ilRadioGroupInputGUI\render(), ilScheduleInputGUI\render(), ilCheckboxInputGUI\render(), ilMultiSelectInputGUI\render(), ilCheckboxGroupInputGUI\render(), ilRepositorySelectorInputGUI\render(), ilPasswordInputGUI\render(), ilFileInputGUI\render(), ilNumberInputGUI\render(), ilNestedOrderingGUI\renderAnswerOutput(), ilRepositorySelectorInputGUI\reset(), ilRepositorySelectorInputGUI\selectRepositoryItem(), ilSelectInputGUI\setHideSubForm(), and writeToSession().

{
$id = str_replace("[", "__", $this->getPostVar());
$id = str_replace("]", "__", $id);
return $id;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilFormPropertyGUI::getHiddenTag (   $a_post_var,
  $a_value 
)

Get hidden tag (used for disabled properties)

Definition at line 377 of file class.ilFormPropertyGUI.php.

References ilUtil\prepareFormOutput().

Referenced by ilCopyrightInputGUI\insert(), ilEMailInputGUI\insert(), ilTextAreaInputGUI\insert(), ilSelectInputGUI\render(), and ilRadioGroupInputGUI\render().

{
return '<input type="hidden" name="'.$a_post_var.'" value="'.ilUtil::prepareFormOutput($a_value).'" />';
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilFormPropertyGUI::getHiddenTitle ( )

Get hidden title.

Returns
string hidden title

Definition at line 289 of file class.ilFormPropertyGUI.php.

References $hidden_title.

{
}
ilFormPropertyGUI::getInfo ( )

Get Information Text.

Returns
string Information Text

Reimplemented in ilNonEditableValueGUI.

Definition at line 141 of file class.ilFormPropertyGUI.php.

References $info.

{
return $this->info;
}
ilFormPropertyGUI::getItemByPostVar (   $a_post_var)

Get item by post var.

Returns
mixed false or item object

Reimplemented in ilRadioGroupInputGUI, ilCheckboxGroupInputGUI, and ilSubEnabledFormPropertyGUI.

Definition at line 299 of file class.ilFormPropertyGUI.php.

References getPostVar().

{
if ($this->getPostVar() == $a_post_var)
{
return $this;
}
return false;
}

+ Here is the call graph for this function:

ilFormPropertyGUI::getMultiIconsHTML ( )
protected

Get HTML for multiple value icons.

Parameters
bool$a_sortable
Returns
string;

Definition at line 435 of file class.ilFormPropertyGUI.php.

References $lng, $tpl, ilGlyphGUI\ADD, ilGlyphGUI\DOWN, ilGlyphGUI\get(), getFieldId(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.

Referenced by ilNonEditableValueGUI\render(), and ilSelectInputGUI\render().

{
global $lng;
$id = $this->getFieldId();
$tpl = new ilTemplate("tpl.multi_icons.html", true, true, "Services/Form");
$html = "";
if ($this->multi_addremove)
{
$tpl->setCurrentBlock("addremove");
$tpl->setVariable("ID", $id);
$tpl->setVariable("TXT_ADD", $lng->txt("add"));
$tpl->setVariable("TXT_REMOVE", $lng->txt("remove"));
include_once("./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
$tpl->setVariable("SRC_ADD", ilGlyphGUI::get(ilGlyphGUI::ADD));
$tpl->setVariable("SRC_REMOVE", ilGlyphGUI::get(ilGlyphGUI::REMOVE));
$tpl->parseCurrentBlock();
}
if ($this->multi_sortable)
{
$tpl->setCurrentBlock("sortable");
$tpl->setVariable("ID", $id);
$tpl->setVariable("TXT_DOWN", $lng->txt("down"));
$tpl->setVariable("TXT_UP", $lng->txt("up"));
include_once("./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
$tpl->setVariable("SRC_UP", ilGlyphGUI::get(ilGlyphGUI::UP));
$tpl->setVariable("SRC_DOWN", ilGlyphGUI::get(ilGlyphGUI::DOWN));
$tpl->parseCurrentBlock();
}
return $tpl->get();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilFormPropertyGUI::getMultiValues ( )

Get multi values.

Returns
array

Definition at line 424 of file class.ilFormPropertyGUI.php.

References $multi_values.

Referenced by ilSelectInputGUI\render().

{
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::getParent ( )

Get Parent GUI object.

Returns
object parent gui object

Definition at line 251 of file class.ilFormPropertyGUI.php.

Referenced by clearFromSession(), getParentForm(), readFromSession(), ilLinkInputGUI\render(), ilRepositorySelectorInputGUI\render(), and writeToSession().

{
return $this->parent_gui;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::getParentForm ( )

Get Parent Form.

Returns
object Parent Form

Definition at line 231 of file class.ilFormPropertyGUI.php.

References getParent().

Referenced by ilRadioGroupInputGUI\render(), and ilCheckboxGroupInputGUI\render().

{
return $this->getParent();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilFormPropertyGUI::getPostVar ( )

Get Post Variable.

Returns
string Post Variable

Definition at line 108 of file class.ilFormPropertyGUI.php.

References $postvar.

Referenced by ilTypicalLearningTimeInputGUI\__buildDaysSelect(), ilTypicalLearningTimeInputGUI\__buildMonthsSelect(), ilDclCheckboxInputGUI\checkInput(), ilMailQuickFilterInputGUI\checkInput(), ilFormulaInputGUI\checkInput(), ilEssayKeywordWizardInputGUI\checkInput(), ilNonEditableValueGUI\checkInput(), ilColorPickerInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilLuceneQueryInputGUI\checkInput(), ilFeedUrlInputGUI\checkInput(), ilGloAdvColSortInputGUI\checkInput(), ilBirthdayInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), ilFontSizeInputGUI\checkInput(), ilFlashFileInputGUI\checkInput(), ilScheduleInputGUI\checkInput(), ilAdvSelectInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilWidthHeightInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), ilEMailInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilCopyrightInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilTRBLBorderStyleInputGUI\checkInput(), ilBackgroundPositionInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilDragDropFileInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxInputGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilTRBLBorderWidthInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilTRBLNumericStyleValueInputGUI\checkInput(), ilAnswerWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilTRBLColorPickerInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilDurationInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilKprimChoiceWizardInputGUI\collectValidFiles(), ilImageFileInputGUI\getDeletionFlag(), ilFlashFileInputGUI\getDeletionFlag(), ilFileInputGUI\getDeletionFlag(), getFieldId(), ilDataCollectionTreePickInputGUI\getHtml(), ilSubEnabledFormPropertyGUI\getItemByPostVar(), ilCheckboxGroupInputGUI\getItemByPostVar(), ilRadioGroupInputGUI\getItemByPostVar(), getItemByPostVar(), ilNumberInputGUI\getPostValueForComparison(), ilDateTimeInputGUI\getPostValueForComparison(), ilRandomTestROInputGUI\insert(), ilHiddenInputGUI\insert(), ilAdvSelectInputGUI\insert(), ilImageFileInputGUI\insert(), ilFontSizeInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilBackgroundImageInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilWidthHeightInputGUI\insert(), ilCopyrightInputGUI\insert(), ilEMailInputGUI\insert(), ilUserLoginInputGUI\insert(), ilTextWizardInputGUI\insert(), ilTypicalLearningTimeInputGUI\insert(), ilSuggestedSolutionSelectorGUI\insert(), ilLocationInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilColorPickerInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilTRBLNumericStyleValueInputGUI\insert(), ilCSSRectInputGUI\insert(), ilFileWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilImageWizardInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilFlashFileInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextAreaInputGUI\insert(), ilGloAdvColSortInputGUI\render(), ilNestedListInputGUI\render(), ilBirthdayInputGUI\render(), ilNonEditableValueGUI\render(), ilSelectInputGUI\render(), ilExplorerSelectInputGUI\render(), ilRadioGroupInputGUI\render(), ilScheduleInputGUI\render(), ilCheckboxInputGUI\render(), ilMultiSelectInputGUI\render(), ilCheckboxGroupInputGUI\render(), ilLinkInputGUI\render(), ilRepositorySelectorInputGUI\render(), ilPasswordInputGUI\render(), ilDurationInputGUI\render(), ilFileInputGUI\render(), ilNumberInputGUI\render(), ilDateTimeInputGUI\render(), ilDateDurationInputGUI\render(), ilNestedOrderingGUI\renderAnswerOutput(), ilTaxAssignInputGUI\saveInput(), ilBirthdayInputGUI\setValueByArray(), ilFlashFileInputGUI\setValueByArray(), ilFileInputGUI\setValueByArray(), ilUserLoginInputGUI\setValueByArray(), ilAlphabetInputGUI\setValueByArray(), ilScheduleInputGUI\setValueByArray(), ilAdvSelectInputGUI\setValueByArray(), ilEMailInputGUI\setValueByArray(), ilHiddenInputGUI\setValueByArray(), ilDataCollectionTreePickInputGUI\setValueByArray(), ilRepositorySelectorInputGUI\setValueByArray(), ilSelectInputGUI\setValueByArray(), ilTypicalLearningTimeInputGUI\setValueByArray(), ilRadioGroupInputGUI\setValueByArray(), ilExplorerSelectInputGUI\setValueByArray(), ilCopyrightInputGUI\setValueByArray(), ilSelectBuilderInputGUI\setValueByArray(), ilCheckboxInputGUI\setValueByArray(), ilGloAdvColSortInputGUI\setValueByArray(), ilImagemapFileInputGUI\setValueByArray(), ilCheckboxGroupInputGUI\setValueByArray(), ilLocationInputGUI\setValueByArray(), ilSuggestedSolutionSelectorGUI\setValueByArray(), ilLinkInputGUI\setValueByArray(), ilPasswordInputGUI\setValueByArray(), ilMultiSelectInputGUI\setValueByArray(), ilCSSRectInputGUI\setValueByArray(), ilBackgroundImageInputGUI\setValueByArray(), ilWidthHeightInputGUI\setValueByArray(), ilNumberInputGUI\setValueByArray(), ilNumericStyleValueInputGUI\setValueByArray(), ilTextInputGUI\setValueByArray(), ilNonEditableValueGUI\setValueByArray(), ilFontSizeInputGUI\setValueByArray(), ilCaptchaInputGUI\setValueByArray(), ilTRBLBorderStyleInputGUI\setValueByArray(), ilDateTimeInputGUI\setValueByArray(), ilDurationInputGUI\setValueByArray(), ilBackgroundPositionInputGUI\setValueByArray(), ilTRBLNumericStyleValueInputGUI\setValueByArray(), ilDateDurationInputGUI\setValueByArray(), ilTRBLBorderWidthInputGUI\setValueByArray(), ilTextAreaInputGUI\setValueByArray(), and ilRepositorySelectorInputGUI\showRepositorySelection().

{
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::getRequired ( )

Get Required.

Returns
boolean Required

Definition at line 181 of file class.ilFormPropertyGUI.php.

References $required.

Referenced by ilDclCheckboxInputGUI\checkInput(), ilFormulaInputGUI\checkInput(), ilEssayKeywordWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilFeedUrlInputGUI\checkInput(), ilBirthdayInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), ilFontSizeInputGUI\checkInput(), ilFlashFileInputGUI\checkInput(), ilScheduleInputGUI\checkInput(), ilAdvSelectInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilEMailInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), and ilKprimChoiceWizardInputGUI\checkUploads().

{
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::getSubForm ( )

Get sub form html.

Reimplemented in ilSubEnabledFormPropertyGUI.

Definition at line 260 of file class.ilFormPropertyGUI.php.

{
return "";
}
ilFormPropertyGUI::getTitle ( )

Get Title.

Returns
string Title

Reimplemented in ilNonEditableValueGUI.

Definition at line 88 of file class.ilFormPropertyGUI.php.

References $title.

{
return $this->title;
}
ilFormPropertyGUI::getType ( )

Get Type.

Returns
string Type

Reimplemented in ilNonEditableValueGUI.

Definition at line 68 of file class.ilFormPropertyGUI.php.

References $type.

{
return $this->type;
}
ilFormPropertyGUI::hideSubForm ( )

Sub form hidden on init?

Reimplemented in ilSelectInputGUI, and ilCheckboxInputGUI.

Definition at line 269 of file class.ilFormPropertyGUI.php.

{
return false;
}
ilFormPropertyGUI::readFromSession ( )

Read from session.

Definition at line 364 of file class.ilFormPropertyGUI.php.

References $_SESSION, getFieldId(), getParent(), and unserializeData().

{
$parent = $this->getParent();
if (!is_object($parent))
{
die("You must set parent for ".get_class($this)." to use serialize feature.");
}
$this->unserializeData($_SESSION["form_".$parent->getId()][$this->getFieldId()]);
}

+ Here is the call graph for this function:

ilFormPropertyGUI::serializeData ( )

serialize data

Reimplemented in ilDateTimeInputGUI, ilDurationInputGUI, ilCheckboxInputGUI, and ilCombinationInputGUI.

Definition at line 312 of file class.ilFormPropertyGUI.php.

Referenced by writeToSession().

{
return serialize($this->getValue());
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setAlert (   $a_alert)

Set Alert Text.

Parameters
string$a_alertAlert Text

Definition at line 151 of file class.ilFormPropertyGUI.php.

Referenced by ilDclCheckboxInputGUI\checkInput(), ilCharSelectorRadioGroupInputGUI\checkInput(), ilMailQuickFilterInputGUI\checkInput(), ilFormulaInputGUI\checkInput(), ilEssayKeywordWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilLuceneQueryInputGUI\checkInput(), ilFeedUrlInputGUI\checkInput(), ilBirthdayInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), ilFontSizeInputGUI\checkInput(), ilFlashFileInputGUI\checkInput(), ilScheduleInputGUI\checkInput(), ilRecurrenceInputGUI\checkInput(), ilAdvSelectInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilEMailInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilBackgroundPositionInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilDragDropFileInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilTRBLBorderWidthInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilTRBLNumericStyleValueInputGUI\checkInput(), ilAnswerWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), and ilCourseRegistrationGUI\fillRegistrationType().

{
$this->alert = $a_alert;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setHiddenTitle (   $a_val)

Set hidden title (for screenreaders)

Parameters
stringhidden title

Definition at line 279 of file class.ilFormPropertyGUI.php.

Referenced by ilImageFileInputGUI\__construct(), and ilFileInputGUI\__construct().

{
$this->hidden_title = $a_val;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setInfo (   $a_info)

Set Information Text.

Parameters
string$a_infoInformation Text

Reimplemented in ilNonEditableValueGUI.

Definition at line 131 of file class.ilFormPropertyGUI.php.

Referenced by ilSCORMCertificateAdapter\addAdditionalFormElements(), ilObjTestSettingsGeneralGUI\addAvailabilityProperties(), ilADTFormBridge\addBasicFieldProperties(), ilMailCronNotification\addCustomSettingsToForm(), ilCronDeleteInactivatedUserAccounts\addCustomSettingsToForm(), ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), ilCharSelectorGUI\addFormProperties(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilObjTestSettingsScoringResultsGUI\addMiscSettingsFormSection(), ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilObjTestSettingsGeneralGUI\addTestAccessProperties(), ilObjTestSettingsGeneralGUI\addTestFinishProperties(), ilObjTestSettingsGeneralGUI\addTestRunProperties(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilObjQuestionPoolSettingsGeneralGUI\buildForm(), ilObjTestSettingsGeneralGUI\buildForm(), ilSetupGUI\displaySessions(), ilPCQuestionOverviewGUI\edit(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjNewsSettingsGUI\editSettings(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilObjLearningResourcesSettingsGUI\editSettings(), ilObjLanguageExtGUI\exportObject(), ilExParticipantTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilObjTestGUI\formTimingObject(), ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilMarkSchemaGUI\getEctsForm(), ilDataCollectionDatatype\getInputField(), ilObjForumAdministrationGUI\getSettingsForm(), ilSurveyParticipantsGUI\importAccessCodesObject(), ilSurveyParticipantsGUI\importExternalMailRecipientsFromFileFormObject(), ilObjLanguageExtGUI\importObject(), ilPageObjectGUI\initActivationForm(), ilObjMediaCastGUI\initAddCastItemForm(), ilRegistrationSettingsGUI\initAddCodesForm(), ilObjExerciseGUI\initAssignmentForm(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilSetupGUI\initBasicSettingsForm(), ilSetupGUI\initControlStructureForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilObjRepositorySettingsGUI\initCustomIconsForm(), ilObjPortfolioTemplateGUI\initDidacticTemplate(), ilObjPollGUI\initEditCustomForm(), ilObjBlogGUI\initEditCustomForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilObjDataCollectionGUI\initEditCustomForm(), ilObjExerciseGUI\initEditCustomForm(), SurveyQuestionGUI\initEditForm(), ilObjCourseGUI\initEditForm(), arConfigFormGUI\initForm(), ilObjMailGUI\initForm(), ilRegistrationSettingsGUI\initForm(), ilObjWikiSettingsGUI\initForm(), ilBookingScheduleGUI\initForm(), ilCalendarAppointmentGUI\initForm(), ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilBasicSkillGUI\initForm(), ilDataCollectionFieldEditGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilObjSessionGUI\initForm(), ilObjectActivationGUI\initFormEdit(), ilExternalFeedBlockGUIGen\initFormFeedBlock(), ilPDExternalFeedBlockGUI\initFormFeedBlock(), ilExternalFeedBlockGUI\initFormFeedBlock(), ilObjUserFolderGUI\initFormGeneralSettings(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilNewsItemGUI\initFormNewsItem(), ilNewsItemGUIGen\initFormNewsItem(), ilLDAPSettingsGUI\initFormRoleAssignments(), ilConsultationHoursGUI\initFormSequence(), ilCASSettingsGUI\initFormSettings(), ilObjWebResourceAdministrationGUI\initFormSettings(), ilMembershipAdministrationGUI\initFormSettings(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjMediaCastSettingsGUI\initFormSettings(), ilObjCalendarSettingsGUI\initFormSettings(), ilObjForumGUI\initForumCreateForm(), ilObjAdvancedEditingGUI\initGeneralPageSettingsForm(), ilObjMDSettingsGUI\initGeneralSettingsForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilObjContentObjectGUI\initImportForm(), ilObjGroupGUI\initInfoEditor(), ilObjSystemFolderGUI\initJavaServerForm(), ilObjSystemFolderGUI\initJavaServerIniForm(), ilLicenseGUI\initLicenseForm(), ilObjUserFolderGUI\initLoginSettingsForm(), ilPersonalSettingsGUI\initMailOptionsForm(), ilMailOptionsGUI\initMailOptionsForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjContentObjectGUI\initMenuForm(), ilObjRepositorySettingsGUI\initNewItemGroupForm(), ilShopNewsGUI\initNewsForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilPCTableGUI\initPropertiesForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjFileGUI\initPropertiesForm(), ilObjSurveyGUI\initPropertiesForm(), ilObjSystemFolderGUI\initProxyForm(), ilSetupGUI\initProxyForm(), ilPersonalProfileGUI\initPublicProfileForm(), ilSurveyEditorGUI\initQuestionblockForm(), ilPermissionGUI\initRoleForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilShopNewsGUI\initSettingsForm(), ilObjTermsOfServiceGUI\initSettingsForm(), ilObjUserTrackingGUI\initSettingsForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilECSSettingsGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjRoleFolderGUI\initSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilConsultationHoursGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilObjSystemFolderGUI\initWebServicesForm(), ilObjFileGUI\initZipUploadForm(), ilSurveyParticipantsGUI\inviteObject(), ilObjLanguageExtGUI\maintainObject(), ilAdvancedMDRecordGUI\parseRecordSelection(), assKprimChoiceGUI\populateAnswerSpecificFormPart(), assFileUploadGUI\populateQuestionSpecificFormPart(), assKprimChoiceGUI\populateQuestionSpecificFormPart(), assNumericGUI\populateQuestionSpecificFormPart(), ilObjSurveyQuestionPoolGUI\propertiesObject(), ilLDAPSettingsGUI\roleMapping(), ilRadiusSettingsGUI\settings(), ilOpenIdSettingsGUI\settings(), ilConditionHandlerGUI\showObligatoryForm(), ilSCORM2004ScoGUI\showProperties(), and ilObjPaymentSettingsGUI\StatutoryRegulationsObject().

{
$this->info = $a_info;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setMulti (   $a_multi,
  $a_sortable = false,
  $a_addremove = true 
)

Set Multi.

Parameters
bool$a_multiMulti

Definition at line 387 of file class.ilFormPropertyGUI.php.

Referenced by ilTaxAssignInputGUI\__construct(), ilUserProfile\addStandardFieldsToForm(), ilRegistrationSettingsGUI\initAddCodesForm(), ilAttendanceList\initForm(), ilObjUserGUI\initForm(), and ilECSMappingSettingsGUI\initFormCSettings().

{
if (!$this instanceof ilMultiValuesItem)
{
trigger_error("not supported for form property type", E_USER_WARNING);
}
$this->multi = (bool)$a_multi;
$this->multi_sortable = (bool)$a_sortable;
$this->multi_addremove = (bool)$a_addremove;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setMultiValues ( array  $a_values)

Set multi values.

Parameters
array$a_values

Reimplemented in ilTextInputGUI.

Definition at line 414 of file class.ilFormPropertyGUI.php.

Referenced by ilObjBlogGUI\initEditCustomForm(), ilSelectInputGUI\setValue(), and ilNonEditableValueGUI\setValue().

{
$this->multi_values = array_unique($a_values);
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setParent (   $a_val)

Set Parent GUI object.

Parameters
objectparent gui object

Definition at line 241 of file class.ilFormPropertyGUI.php.

Referenced by ilLanguageExtTableGUI\initFilter(), and setParentForm().

{
$this->parent_gui = $a_val;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setParentForm (   $a_parentform)

Set Parent Form.

Parameters
object$a_parentformParent Form

Definition at line 221 of file class.ilFormPropertyGUI.php.

References setParent().

{
$this->setParent($a_parentform);
}

+ Here is the call graph for this function:

ilFormPropertyGUI::setPostVar (   $a_postvar)

Set Post Variable.

Parameters
string$a_postvarPost Variable

Definition at line 98 of file class.ilFormPropertyGUI.php.

Referenced by __construct(), ilObjMediaCastGUI\initAddCastItemForm(), ilLDAPSettingsGUI\initRoleMappingForm(), and ilLDAPSettingsGUI\roleMapping().

{
$this->postvar = $a_postvar;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setRequired (   $a_required)

Set Required.

Parameters
boolean$a_requiredRequired

Definition at line 171 of file class.ilFormPropertyGUI.php.

Referenced by ilRandomTestROInputGUI\__construct(), FormMailCodesGUI\__construct(), ilAccountRegistrationGUI\__initForm(), ilSCORMCertificateAdapter\addAdditionalFormElements(), ilADTFormBridge\addBasicFieldProperties(), ilMemberAgreementGUI\addCustomFields(), ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionForm(), ilGlossaryTermGUI\addDefinition(), SurveyMultipleChoiceQuestionGUI\addFieldsToEditForm(), SurveySingleChoiceQuestionGUI\addFieldsToEditForm(), SurveyTextQuestionGUI\addFieldsToEditForm(), SurveyMetricQuestionGUI\addFieldsToEditForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilECSObjectSettings\addSettingsToForm(), ilUserProfile\addStandardFieldsToForm(), ilObjTestSettingsGeneralGUI\addTestAccessProperties(), ilObjTestSettingsGeneralGUI\addTestFinishProperties(), ilObjTestSettingsGeneralGUI\addTestIntroProperties(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionHintGUI\buildForm(), ilCertificateGUI\certificateEditor(), ilSetupGUI\cloneInitForm(), ilObjStyleSheetGUI\createObject(), ilSurveyEditorGUI\createQuestionObject(), ilObjTestGUI\createQuestionObject(), assOrderingQuestionGUI\getAnswerImageFileUploadWizardFormProperty(), ilPasswordAssistanceGUI\getAssignPasswordForm(), ilPasswordAssistanceGUI\getAssistanceForm(), ilMarkSchemaGUI\getEctsForm(), ilObjTestGUI\getQuestionpoolCreationForm(), ilObjForumGUI\getThreadEditingForm(), ilMailAttachmentGUI\getToolbarForm(), ilPasswordAssistanceGUI\getUsernameAssistanceForm(), ilObjUserFolderGUI\initAccessRestrictionForm(), ilObjMediaCastGUI\initAddCastItemForm(), ilAccountCodesGUI\initAddCodesForm(), ilRegistrationSettingsGUI\initAddCodesForm(), ilPCFileItemGUI\initAddFileForm(), ilObjLanguageExtGUI\initAddNewEntryForm(), ilObjExerciseGUI\initAssignmentForm(), ilObjExerciseGUI\initAssignmentTextForm(), ilSetupGUI\initBasicSettingsForm(), ilObjPortfolioTemplateGUI\initBlogForm(), ilObjPortfolioGUI\initBlogForm(), ilObjBookingPoolGUI\initBookingNumbersForm(), ilECSSettingsGUI\initCategoryMappingForm(), ilSetupGUI\initClientIniForm(), ilStartUpGUI\initCodeForm(), ilObjStyleSheetGUI\initColorForm(), ilObjRoleFolderGUI\initCopyBehaviourForm(), ilObjPortfolioBaseGUI\initCopyPageForm(), ilObjPortfolioTemplateGUI\initCopyPageFormOptions(), ilObjPortfolioGUI\initCopyPageFormOptions(), ilCloudPluginCreateFolderGUI\initCreateFolder(), ilObjPortfolioGUI\initCreateForm(), ilObjCloudGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilBlogPostingGUI\initDateForm(), ilObjPollGUI\initEditCustomForm(), ilObjBlogGUI\initEditCustomForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilCronManagerGUI\initEditForm(), SurveyQuestionGUI\initEditForm(), ilPCFileListGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilObjectCustomUserFieldsGUI\initFieldForm(), ilObjBibliographicAdminLibrariesFormGUI\initForm(), ilPCContentTemplateGUI\initForm(), ilCalendarRecurrenceGUI\initForm(), ilOrgUnitSimpleImportGUI\initForm(), ilPCConsultationHoursGUI\initForm(), ilPCBlogGUI\initForm(), ilOrgUnitSimpleUserImportGUI\initForm(), ilBookingObjectGUI\initForm(), ilPCVerificationGUI\initForm(), ilBookingScheduleGUI\initForm(), ilPCMapGUI\initForm(), ilPCSkillsGUI\initForm(), ilCustomUserFieldsGUI\initForm(), ilObjCourseGroupingGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilDataCollectionTableEditGUI\initForm(), ilDataCollectionFieldEditGUI\initForm(), ilMailingListsGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilBookmarkAdministrationGUI\initFormBookmarkFolder(), ilConditionHandlerGUI\initFormCondition(), ilECSMappingSettingsGUI\initFormCSettings(), ilObjLinkResourceGUI\initFormLink(), ilObjSearchSettingsGUI\initFormLuceneSettings(), ilContainerGUI\initFormPasswordInstruction(), ilOpenIdSettingsGUI\initFormProvider(), ilAuthShibbolethSettingsGUI\initFormRoleAssignment(), ilLDAPSettingsGUI\initFormRoleAssignments(), ilLPListOfSettingsGUI\initFormSettings(), ilCASSettingsGUI\initFormSettings(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjSearchSettingsGUI\initFormSettings(), ilObjLinkResourceGUI\initFormSettings(), ilObjSCORM2004LearningModuleGUI\initGlossaryCreationForm(), ilObjStyleSheetGUI\initImageForm(), ilBookmarkAdministrationGUI\initImportBookmarksForm(), ilObjSCORMLearningModuleGUI\initImportForm(), ilSurveyParticipantsGUI\initMailRatersForm(), ilObjPortfolioBaseGUI\initPageForm(), ilWorkspaceAccessGUI\initPasswordForm(), ilPersonalSettingsGUI\initPasswordForm(), ilPersonalProfileGUI\initPersonalDataImportForm(), SurveyQuestionGUI\initPhrasesForm(), ilObjExerciseGUI\initPortfolioTemplateForm(), ilPCBlogGUI\initPostingForm(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSurveyGUI\initPropertiesForm(), ilSurveyEditorGUI\initQuestionblockForm(), ilObjPollGUI\initQuestionForm(), ilObjRoleFolderGUI\initRoleSearchForm(), ilCloudPluginSettingsGUI\initSettingsForm(), ilObjiLincClassroomGUI\initSettingsForm(), ilLOEditorGUI\initSettingsForm(), ilECSSettingsGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjiLincCourseGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilChatroomSmileyTask\initSmiliesEditForm(), ilChatroomSmileyTask\initSmiliesForm(), ilObjWikiGUI\initTemplateSelectionForm(), ilLOEditorGUI\initTestForm(), ilBlogPostingGUI\initTitleForm(), ilUnitConfigurationGUI\initUnitCategoryForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjFileGUI\initZipUploadForm(), SurveyQuestionGUI\material(), ilSurveyPhrasesGUI\phraseEditor(), assMatchingQuestionGUI\populateAnswerSpecificFormPart(), assTextSubsetGUI\populateAnswerSpecificFormPart(), assTextQuestionGUI\populateAnswerSpecificFormPart(), assSingleChoiceGUI\populateAnswerSpecificFormPart(), assMultipleChoiceGUI\populateAnswerSpecificFormPart(), assKprimChoiceGUI\populateQuestionSpecificFormPart(), assFlashQuestionGUI\populateQuestionSpecificFormPart(), assImagemapQuestionGUI\populateQuestionSpecificFormPart(), assMatchingQuestionGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateQuestionSpecificFormPart(), assSingleChoiceGUI\populateQuestionSpecificFormPart(), assMultipleChoiceGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateSelectGapFormPart(), assClozeTestGUI\populateTextGapFormPart(), ilRadiusSettingsGUI\settings(), ilObjCertificateSettingsGUI\settings(), ilObjSurveyAdministrationGUI\settingsObject(), ilMailFormGUI\showForm(), ilStartUpGUI\showLoginForm(), and ilTestPasswordProtectionGUI\showPasswordFormCmd().

{
$this->required = $a_required;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setTitle (   $a_title)

Set Title.

Parameters
string$a_titleTitle

Reimplemented in ilNonEditableValueGUI.

Definition at line 78 of file class.ilFormPropertyGUI.php.

Referenced by __construct(), ilObjSCORM2004LearningModuleGUI\initGlossaryCreationForm(), ilPersonalProfileGUI\initPersonalDataImportForm(), and ilObjContentObjectGUI\initPropertiesForm().

{
$this->title = $a_title;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::setType (   $a_type)
protected

Set Type.

Parameters
string$a_typeType

Reimplemented in ilNonEditableValueGUI.

Definition at line 58 of file class.ilFormPropertyGUI.php.

Referenced by ilImageFileInputGUI\__construct(), ilTRBLBorderStyleInputGUI\__construct(), ilWidthHeightInputGUI\__construct(), ilGloAdvColSortInputGUI\__construct(), ilColorPickerInputGUI\__construct(), ilCountrySelectInputGUI\__construct(), ilExplorerSelectInputGUI\__construct(), ilAdvSelectInputGUI\__construct(), ilTaxAssignInputGUI\__construct(), ilTaxSelectInputGUI\__construct(), ilFlashFileInputGUI\__construct(), ilTypicalLearningTimeInputGUI\__construct(), ilNestedListInputGUI\__construct(), ilSuggestedSolutionSelectorGUI\__construct(), ilSelectInputGUI\__construct(), ilCopyrightInputGUI\__construct(), ilFileInputGUI\__construct(), ilLinkInputGUI\__construct(), ilDateTimeInputGUI\__construct(), ilCaptchaInputGUI\__construct(), ilHiddenInputGUI\__construct(), ilTRBLBorderWidthInputGUI\__construct(), ilFontSizeInputGUI\__construct(), ilRegExpInputGUI\__construct(), ilBackgroundImageInputGUI\__construct(), ilBackgroundPositionInputGUI\__construct(), ilTRBLNumericStyleValueInputGUI\__construct(), ilNumericStyleValueInputGUI\__construct(), ilFeedUrlInputGUI\__construct(), ilTextInputGUI\__construct(), ilCustomInputGUI\__construct(), ilLocationInputGUI\__construct(), ilTRBLColorPickerInputGUI\__construct(), ilRadioGroupInputGUI\__construct(), ilCheckboxGroupInputGUI\__construct(), ilCheckboxInputGUI\__construct(), ilDateDurationInputGUI\__construct(), ilRepositorySelectorInputGUI\__construct(), ilDurationInputGUI\__construct(), ilMultiSelectInputGUI\__construct(), and ilTextAreaInputGUI\__construct().

{
$this->type = $a_type;
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::unserializeData (   $a_data)

unserialize data

Reimplemented in ilDateTimeInputGUI, ilDurationInputGUI, ilCheckboxInputGUI, and ilCombinationInputGUI.

Definition at line 320 of file class.ilFormPropertyGUI.php.

Referenced by readFromSession().

{
$data = unserialize($a_data);
if ($data)
{
$this->setValue($data);
}
else
{
$this->setValue(false);
}
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::writeToSession ( )

Write to session.

Definition at line 337 of file class.ilFormPropertyGUI.php.

References $_SESSION, getFieldId(), getParent(), and serializeData().

Referenced by ilRepositorySelectorInputGUI\reset(), ilRepositorySelectorInputGUI\selectRepositoryItem(), and ilTable2GUI\SetFilterValue().

{
$parent = $this->getParent();
if (!is_object($parent))
{
die("You must set parent for ".get_class($this)." to use serialize feature.");
}
$_SESSION["form_".$parent->getId()][$this->getFieldId()] =
$this->serializeData();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

ilFormPropertyGUI::$alert
protected

Definition at line 17 of file class.ilFormPropertyGUI.php.

Referenced by getAlert().

ilFormPropertyGUI::$hidden_title = ""
protected

Definition at line 21 of file class.ilFormPropertyGUI.php.

Referenced by getHiddenTitle().

ilFormPropertyGUI::$info
protected

Definition at line 16 of file class.ilFormPropertyGUI.php.

Referenced by getInfo().

ilFormPropertyGUI::$multi = false
protected

Definition at line 22 of file class.ilFormPropertyGUI.php.

Referenced by getMulti().

ilFormPropertyGUI::$multi_addremove = true
protected

Definition at line 24 of file class.ilFormPropertyGUI.php.

ilFormPropertyGUI::$multi_sortable = false
protected

Definition at line 23 of file class.ilFormPropertyGUI.php.

ilFormPropertyGUI::$multi_values
protected

Definition at line 25 of file class.ilFormPropertyGUI.php.

Referenced by getMultiValues().

ilFormPropertyGUI::$parentform
protected

Definition at line 20 of file class.ilFormPropertyGUI.php.

ilFormPropertyGUI::$parentgui
protected

Definition at line 19 of file class.ilFormPropertyGUI.php.

ilFormPropertyGUI::$postvar
protected
ilFormPropertyGUI::$required = false
protected

Definition at line 18 of file class.ilFormPropertyGUI.php.

Referenced by getRequired().

ilFormPropertyGUI::$title
protected

The documentation for this class was generated from the following file: