ILIAS  Release_4_4_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, ilAnswerWizardInputGUI, ilEMailInputGUI, ilDurationInputGUI, ilRepositorySelectorInputGUI, ilCategoryWizardInputGUI, ilDateDurationInputGUI, ilMatrixRowWizardInputGUI, ilCheckboxGroupInputGUI, ilCheckboxInputGUI, ilCSSRectInputGUI, ilOrderingTextWizardInputGUI, ilCustomInputGUI, ilLocationInputGUI, ilRadioGroupInputGUI, ilTRBLColorPickerInputGUI, ilFeedUrlInputGUI, ilFileWizardInputGUI, ilTextWizardInputGUI, ilNumericStyleValueInputGUI, ilTRBLNumericStyleValueInputGUI, ilDataCollectionTreePickInputGUI, ilRegExpInputGUI, ilTextInputGUI, ilBackgroundImageInputGUI, ilBackgroundPositionInputGUI, ilFontSizeInputGUI, ilTRBLBorderWidthInputGUI, ilCaptchaInputGUI, ilLuceneQueryInputGUI, ilMatchingWizardInputGUI, ilDateTimeInputGUI, ilDragDropFileInputGUI, ilNumberInputGUI, ilPasswordInputGUI, ilSingleChoiceWizardInputGUI, ilLinkInputGUI, ilImageWizardInputGUI, ilFileInputGUI, ilAlphabetInputGUI, ilSelectInputGUI, ilUserLoginInputGUI, ilCopyrightInputGUI, ilImagemapFileInputGUI, ilKVPWizardInputGUI, ilErrorTextWizardInputGUI, ilSuggestedSolutionSelectorGUI, ilNestedListInputGUI, ilScaleInputGUI, ilAdvSelectInputGUI, ilFlashFileInputGUI, ilTypicalLearningTimeInputGUI, ilRandomTestInputGUI, ilMatchingPairWizardInputGUI, 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, ilDateTimeInputGUI, ilDurationInputGUI, ilNumberInputGUI, ilTextInputGUI, ilCombinationInputGUI, ilPasswordInputGUI, ilNestedOrderingGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, ilKVPWizardInputGUI, ilFileInputGUI, ilSingleChoiceWizardInputGUI, ilAnswerWizardInputGUI, ilMatchingWizardInputGUI, ilErrorTextWizardInputGUI, ilCSSRectInputGUI, ilMultiSelectInputGUI, ilTRBLNumericStyleValueInputGUI, ilMatrixRowWizardInputGUI, ilLinkInputGUI, ilImageWizardInputGUI, ilRepositorySelectorInputGUI, ilTRBLBorderWidthInputGUI, ilCheckboxGroupInputGUI, ilCheckboxInputGUI, ilSuggestedSolutionSelectorGUI, ilLocationInputGUI, ilDragDropFileInputGUI, ilBackgroundPositionInputGUI, ilImagemapFileInputGUI, ilTRBLBorderStyleInputGUI, ilRandomTestInputGUI, ilOrderingTextWizardInputGUI, ilCaptchaInputGUI, ilMatchingPairWizardInputGUI, ilCopyrightInputGUI, ilFileWizardInputGUI, ilRadioGroupInputGUI, ilExplorerSelectInputGUI, ilUserLoginInputGUI, ilTextWizardInputGUI, ilTypicalLearningTimeInputGUI, ilCustomInputGUI, ilSelectInputGUI, ilWidthHeightInputGUI, ilNumericStyleValueInputGUI, ilRegExpInputGUI, ilBackgroundImageInputGUI, ilAlphabetInputGUI, ilEMailInputGUI, ilNestedListInputGUI, ilAdvSelectInputGUI, ilRecurrenceInputGUI, ilScheduleInputGUI, ilChatroomSmiliesCurrentSmileyFormElement, ilFlashFileInputGUI, ilHiddenInputGUI, ilFontSizeInputGUI, ilRandomTestROInputGUI, ilSelectBuilderInputGUI, ilBirthdayInputGUI, ilGloAdvColSortInputGUI, ilFeedUrlInputGUI, ilLuceneQueryInputGUI, ilMultipleChoiceWizardInputGUI, ilColorPickerInputGUI, ilEssayKeywordWizardInputGUI, ilNonEditableValueGUI, ilFormulaInputGUI, ilSolutionTitleInputGUI, ilMailQuickFilterInputGUI, and ilCharSelectorRadioGroupInputGUI.

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 475 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 clearFromSession(), getMultiIconsHTML(), ilHiddenInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilImageFileInputGUI\insert(), ilEMailInputGUI\insert(), ilCopyrightInputGUI\insert(), ilUserLoginInputGUI\insert(), ilTextWizardInputGUI\insert(), ilOrderingTextWizardInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilColorPickerInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilCSSRectInputGUI\insert(), ilFileWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilFlashFileInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextAreaInputGUI\insert(), readFromSession(), ilGloAdvColSortInputGUI\render(), ilScaleInputGUI\render(), ilNonEditableValueGUI\render(), ilSelectInputGUI\render(), ilExplorerSelectInputGUI\render(), ilRadioGroupInputGUI\render(), ilScheduleInputGUI\render(), ilCheckboxInputGUI\render(), ilMultiSelectInputGUI\render(), ilCheckboxGroupInputGUI\render(), ilRepositorySelectorInputGUI\render(), ilPasswordInputGUI\render(), ilFileInputGUI\render(), ilTextInputGUI\render(), ilNumberInputGUI\render(), ilNestedOrderingGUI\renderAnswerOutput(), ilRepositorySelectorInputGUI\reset(), ilRepositorySelectorInputGUI\selectRepositoryItem(), 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 ilEMailInputGUI\insert(), ilCopyrightInputGUI\insert(), ilTextAreaInputGUI\insert(), ilSelectInputGUI\render(), ilRadioGroupInputGUI\render(), and ilTextInputGUI\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, getFieldId(), and ilUtil\getImagePath().

Referenced by ilNonEditableValueGUI\render(), ilSelectInputGUI\render(), and ilTextInputGUI\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("SRC_ADD", ilUtil::getImagePath('edit_add.png'));
$tpl->setVariable("TXT_ADD", $lng->txt("add"));
$tpl->setVariable("SRC_REMOVE", ilUtil::getImagePath('edit_remove.png'));
$tpl->setVariable("TXT_REMOVE", $lng->txt("remove"));
$tpl->parseCurrentBlock();
}
if ($this->multi_sortable)
{
$tpl->setCurrentBlock("sortable");
$tpl->setVariable("ID", $id);
$tpl->setVariable("SRC_DOWN", ilUtil::getImagePath('icon_down_s.png'));
$tpl->setVariable("TXT_DOWN", $lng->txt("down"));
$tpl->setVariable("SRC_UP", ilUtil::getImagePath('icon_up_s.png'));
$tpl->setVariable("TXT_UP", $lng->txt("up"));
$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(), and ilTextInputGUI\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(), ilDataCollectionTreePickInputGUI\__construct(), 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(), ilEMailInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilWidthHeightInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilCopyrightInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilOrderingTextWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilRandomTestInputGUI\checkInput(), ilTRBLBorderStyleInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilBackgroundPositionInputGUI\checkInput(), ilDragDropFileInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxInputGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilTRBLBorderWidthInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilTRBLNumericStyleValueInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilAnswerWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilTRBLColorPickerInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilDurationInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), 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(), ilSelectBuilderInputGUI\insert(), ilImageFileInputGUI\insert(), ilFontSizeInputGUI\insert(), ilEMailInputGUI\insert(), ilBackgroundImageInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilWidthHeightInputGUI\insert(), ilCopyrightInputGUI\insert(), ilUserLoginInputGUI\insert(), ilTextWizardInputGUI\insert(), ilTypicalLearningTimeInputGUI\insert(), ilOrderingTextWizardInputGUI\insert(), ilSuggestedSolutionSelectorGUI\insert(), ilLocationInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilColorPickerInputGUI\insert(), ilRandomTestInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilTRBLNumericStyleValueInputGUI\insert(), ilCSSRectInputGUI\insert(), ilFileWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilFlashFileInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextAreaInputGUI\insert(), ilGloAdvColSortInputGUI\render(), ilScaleInputGUI\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(), ilTextInputGUI\render(), ilNumberInputGUI\render(), ilDateTimeInputGUI\render(), ilDateDurationInputGUI\render(), ilNestedOrderingGUI\renderAnswerOutput(), ilTaxAssignInputGUI\saveInput(), ilBirthdayInputGUI\setValueByArray(), ilFlashFileInputGUI\setValueByArray(), ilFileInputGUI\setValueByArray(), ilRandomTestInputGUI\setValueByArray(), ilUserLoginInputGUI\setValueByArray(), ilAlphabetInputGUI\setValueByArray(), ilScheduleInputGUI\setValueByArray(), ilDataCollectionTreePickInputGUI\setValueByArray(), ilAdvSelectInputGUI\setValueByArray(), ilEMailInputGUI\setValueByArray(), ilHiddenInputGUI\setValueByArray(), ilSelectInputGUI\setValueByArray(), ilRepositorySelectorInputGUI\setValueByArray(), ilTypicalLearningTimeInputGUI\setValueByArray(), ilRadioGroupInputGUI\setValueByArray(), ilExplorerSelectInputGUI\setValueByArray(), ilCopyrightInputGUI\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(), ilTRBLBorderWidthInputGUI\setValueByArray(), ilDateDurationInputGUI\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 ilFormulaInputGUI\checkInput(), ilEssayKeywordWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilFeedUrlInputGUI\checkInput(), ilBirthdayInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), ilFontSizeInputGUI\checkInput(), ilFlashFileInputGUI\checkInput(), ilScheduleInputGUI\checkInput(), ilAdvSelectInputGUI\checkInput(), ilEMailInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilOrderingTextWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), and ilTextAreaInputGUI\checkInput().

{
}

+ 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.

Referenced by ilDataCollectionTreePickInputGUI\__construct().

{
return $this->title;
}

+ Here is the caller graph for this function:

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 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 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(), ilEMailInputGUI\checkInput(), ilAlphabetInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilBackgroundImageInputGUI\checkInput(), ilNumericStyleValueInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilCustomInputGUI\checkInput(), ilTypicalLearningTimeInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilExplorerSelectInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilFileWizardInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilCaptchaInputGUI\checkInput(), ilOrderingTextWizardInputGUI\checkInput(), ilRandomTestInputGUI\checkInput(), ilImagemapFileInputGUI\checkInput(), ilBackgroundPositionInputGUI\checkInput(), ilDragDropFileInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilCheckboxGroupInputGUI\checkInput(), ilTRBLBorderWidthInputGUI\checkInput(), ilRepositorySelectorInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilLinkInputGUI\checkInput(), ilMatrixRowWizardInputGUI\checkInput(), ilTRBLNumericStyleValueInputGUI\checkInput(), ilMultiSelectInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilErrorTextWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilAnswerWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilKVPWizardInputGUI\checkInput(), ilCategoryWizardInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilTextInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), 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(), ilMailCronNotification\addCustomSettingsToForm(), ilCronDeleteInactivatedUserAccounts\addCustomSettingsToForm(), ilCronDeleteInactiveUserAccounts\addCustomSettingsToForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), ilCharSelectorGUI\addFormProperties(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilObjQuestionPoolSettingsGeneralGUI\buildForm(), ilObjTestSettingsGeneralGUI\buildForm(), ilObjAssessmentFolderGUI\defaultsObject(), ilSetupGUI\displaySessions(), ilPCQuestionOverviewGUI\edit(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjNewsSettingsGUI\editSettings(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilObjLearningResourcesSettingsGUI\editSettings(), ilObjTestGUI\formTimingObject(), ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilDataCollectionDatatype\getInputField(), ilObjForumAdministrationGUI\getSettingsForm(), ilSurveyParticipantsGUI\importExternalMailRecipientsFromFileFormObject(), 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(), ilObjExerciseGUI\initEditCustomForm(), SurveyQuestionGUI\initEditForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjMailGUI\initForm(), ilRegistrationSettingsGUI\initForm(), ilObjWikiSettingsGUI\initForm(), ilBookingScheduleGUI\initForm(), ilCalendarAppointmentGUI\initForm(), ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilBasicSkillGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\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(), 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(), ilObjUserFolderGUI\initLoginSettingsForm(), ilMailOptionsGUI\initMailOptionsForm(), ilPersonalSettingsGUI\initMailOptionsForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjContentObjectGUI\initMenuForm(), ilObjRepositorySettingsGUI\initNewItemGroupForm(), ilShopNewsGUI\initNewsForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), 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(), ilECSSettingsGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjRoleFolderGUI\initSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilConsultationHoursGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilObjSystemFolderGUI\initWebServicesForm(), ilObjFileGUI\initZipUploadForm(), ilSurveyParticipantsGUI\inviteObject(), ilAdvancedMDRecordGUI\parseRecordSelection(), assFileUploadGUI\populateQuestionSpecificFormPart(), assNumericGUI\populateQuestionSpecificFormPart(), ilObjSurveyQuestionPoolGUI\propertiesObject(), ilLDAPSettingsGUI\roleMapping(), ilObjTestGUI\scoringObject(), ilRadiusSettingsGUI\settings(), ilOpenIdSettingsGUI\settings(), ilConditionHandlerInterface\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(), ilRegistrationSettingsGUI\initAddCodesForm(), ilAttendanceList\initForm(), ilECSMappingSettingsGUI\initFormCSettings(), and ilBlogPostingGUI\initKeywordsForm().

{
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 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 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(), ilRandomTestInputGUI\__construct(), FormMailCodesGUI\__construct(), ilAccountRegistrationGUI\__initForm(), ilSCORMCertificateAdapter\addAdditionalFormElements(), ilMemberAgreementGUI\addCustomFields(), ilGlossaryTermGUI\addDefinition(), SurveyMultipleChoiceQuestionGUI\addFieldsToEditForm(), SurveyMetricQuestionGUI\addFieldsToEditForm(), SurveySingleChoiceQuestionGUI\addFieldsToEditForm(), SurveyTextQuestionGUI\addFieldsToEditForm(), SurveyMatrixQuestionGUI\addFieldsToEditForm(), ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilECSObjectSettings\addSettingsToForm(), ilUserProfile\addStandardFieldsToForm(), ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilAssQuestionHintGUI\buildForm(), ilObjTestSettingsGeneralGUI\buildForm(), ilObjAssessmentFolderGUI\buildSettingsForm(), ilCertificateGUI\certificateEditor(), ilSetupGUI\cloneInitForm(), ilLMObjectGUI\create(), ilObjStyleSheetGUI\createObject(), ilSurveyEditorGUI\createQuestionObject(), ilObjTestGUI\createQuestionObject(), assOrderingQuestionGUI\getAnswerImageFileUploadWizardFormProperty(), ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilPasswordAssistanceGUI\getAssignPasswordForm(), ilPasswordAssistanceGUI\getAssistanceForm(), ilObjTestGUI\getQuestionpoolCreationForm(), ilObjForumGUI\getThreadEditingForm(), ilMailAttachmentGUI\getToolbarForm(), ilPasswordAssistanceGUI\getUsernameAssistanceForm(), ilObjUserFolderGUI\initAccessRestrictionForm(), ilObjMediaCastGUI\initAddCastItemForm(), ilAccountCodesGUI\initAddCodesForm(), ilRegistrationSettingsGUI\initAddCodesForm(), ilPCFileItemGUI\initAddFileForm(), ilObjExerciseGUI\initAssignmentForm(), ilObjExerciseGUI\initAssignmentTextForm(), ilSetupGUI\initBasicSettingsForm(), ilObjPortfolioTemplateGUI\initBlogForm(), ilObjPortfolioGUI\initBlogForm(), 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(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjFolderGUI\initEditCustomForm(), ilCronManagerGUI\initEditForm(), SurveyQuestionGUI\initEditForm(), ilPCFileListGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilObjSCORMLearningModuleGUI\initExportForm(), ilObjectCustomUserFieldsGUI\initFieldForm(), ilCalendarRecurrenceGUI\initForm(), ilOrgUnitSimpleUserImportGUI\initForm(), ilOrgUnitSimpleImportGUI\initForm(), ilPCConsultationHoursGUI\initForm(), ilPCBlogGUI\initForm(), ilBookingObjectGUI\initForm(), ilPCVerificationGUI\initForm(), ilBookingScheduleGUI\initForm(), ilPCMapGUI\initForm(), ilCustomUserFieldsGUI\initForm(), ilPCSkillsGUI\initForm(), ilObjCourseGroupingGUI\initForm(), ilDataCollectionTableEditGUI\initForm(), ilDataCollectionFieldEditGUI\initForm(), ilMailingListsGUI\initForm(), ilLDAPSettingsGUI\initForm(), ilObjUserGUI\initForm(), ilBookmarkAdministrationGUI\initFormBookmarkFolder(), ilConditionHandlerInterface\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(), ilECSSettingsGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjiLincCourseGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilChatroomSmileyTask\initSmiliesEditForm(), ilChatroomSmileyTask\initSmiliesForm(), ilBlogPostingGUI\initTitleForm(), ilUnitConfigurationGUI\initUnitCategoryForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjFileGUI\initZipUploadForm(), SurveyQuestionGUI\material(), ilSurveyPhrasesGUI\phraseEditor(), assMatchingQuestionGUI\populateAnswerSpecificFormPart(), assTextSubsetGUI\populateAnswerSpecificFormPart(), assTextQuestionGUI\populateAnswerSpecificFormPart(), assSingleChoiceGUI\populateAnswerSpecificFormPart(), assMultipleChoiceGUI\populateAnswerSpecificFormPart(), assFlashQuestionGUI\populateQuestionSpecificFormPart(), assImagemapQuestionGUI\populateQuestionSpecificFormPart(), assSingleChoiceGUI\populateQuestionSpecificFormPart(), assMultipleChoiceGUI\populateQuestionSpecificFormPart(), assClozeTestGUI\populateSelectGapFormPart(), assClozeTestGUI\populateTextGapFormPart(), ilRadiusSettingsGUI\settings(), ilObjCertificateSettingsGUI\settings(), ilObjSurveyAdministrationGUI\settingsObject(), ilMailFormGUI\showForm(), ilStartUpGUI\showLoginForm(), and ilNotificationOSDHandler\showSettings().

{
$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(), and ilPersonalProfileGUI\initPersonalDataImportForm().

{
$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(), ilTextInputGUI\__construct(), ilBackgroundPositionInputGUI\__construct(), ilTRBLNumericStyleValueInputGUI\__construct(), ilNumericStyleValueInputGUI\__construct(), ilFeedUrlInputGUI\__construct(), ilCustomInputGUI\__construct(), ilLocationInputGUI\__construct(), ilTRBLColorPickerInputGUI\__construct(), ilRadioGroupInputGUI\__construct(), ilCheckboxGroupInputGUI\__construct(), ilCheckboxInputGUI\__construct(), ilDateDurationInputGUI\__construct(), ilDurationInputGUI\__construct(), ilRepositorySelectorInputGUI\__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().


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