ILIAS  Release_3_10_x_branch Revision 61812
 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.
 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.
 getSubForm ()
 Get sub form html.
 getSubformMode ()

Protected Member Functions

 setType ($a_type)
 Set Type.

Protected Attributes

 $type
 $title
 $postvar
 $info
 $alert
 $required = false

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 31 of file class.ilFormPropertyGUI.php.

Constructor & Destructor Documentation

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

Member Function Documentation

ilFormPropertyGUI::getAlert ( )

Get Alert Text.

Returns
string Alert Text

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

References $alert.

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

Get Post Variable.

Returns
string Post Variable

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

References getPostVar().

Referenced by ilImageFileInputGUI\insert(), ilHiddenInputGUI\insert(), ilColorPickerInputGUI\insert(), ilEMailInputGUI\insert(), ilUserLoginInputGUI\insert(), ilRadioGroupInputGUI\insert(), ilCheckboxInputGUI\insert(), ilFlashFileInputGUI\insert(), ilTextInputGUI\insert(), ilCSSRectInputGUI\insert(), ilNumberInputGUI\insert(), ilPasswordInputGUI\insert(), ilFileInputGUI\insert(), and ilTextAreaInputGUI\insert().

{
$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::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::getPostVar ( )

Get Post Variable.

Returns
string Post Variable

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

References $postvar.

Referenced by ilFeedUrlInputGUI\checkInput(), ilEMailInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilRadioMatrixInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilUserLoginInputGUI\checkInput(), ilRadioGroupInputGUI\checkInput(), ilLocationInputGUI\checkInput(), ilCheckboxInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilTextInputGUI\checkInput(), ilNumberInputGUI\checkInput(), ilPasswordInputGUI\checkInput(), ilCSSRectInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilDurationInputGUI\checkInput(), ilTextAreaInputGUI\checkInput(), ilImageFileInputGUI\getDeletionFlag(), ilFlashFileInputGUI\getDeletionFlag(), getFieldId(), ilImageFileInputGUI\insert(), ilHiddenInputGUI\insert(), ilColorPickerInputGUI\insert(), ilEMailInputGUI\insert(), ilRadioMatrixInputGUI\insert(), ilSelectInputGUI\insert(), ilUserLoginInputGUI\insert(), ilRadioGroupInputGUI\insert(), ilLocationInputGUI\insert(), ilCheckboxInputGUI\insert(), ilFlashFileInputGUI\insert(), ilSuggestedSolutionSelectorGUI\insert(), ilTextInputGUI\insert(), ilCSSRectInputGUI\insert(), ilNumberInputGUI\insert(), ilPasswordInputGUI\insert(), ilFileInputGUI\insert(), ilDateTimeInputGUI\insert(), ilDurationInputGUI\insert(), ilTextAreaInputGUI\insert(), ilFileInputGUI\setValueByArray(), ilEMailInputGUI\setValueByArray(), ilUserLoginInputGUI\setValueByArray(), ilHiddenInputGUI\setValueByArray(), ilSelectInputGUI\setValueByArray(), ilRadioMatrixInputGUI\setValueByArray(), ilRadioGroupInputGUI\setValueByArray(), ilNumberInputGUI\setValueByArray(), ilLocationInputGUI\setValueByArray(), ilCheckboxInputGUI\setValueByArray(), ilPasswordInputGUI\setValueByArray(), ilTextInputGUI\setValueByArray(), ilNonEditableValueGUI\setValueByArray(), ilSuggestedSolutionSelectorGUI\setValueByArray(), ilCSSRectInputGUI\setValueByArray(), ilDateTimeInputGUI\setValueByArray(), ilDurationInputGUI\setValueByArray(), and ilTextAreaInputGUI\setValueByArray().

{
}

+ Here is the caller graph for this function:

ilFormPropertyGUI::getSubForm ( )

Get sub form html.

Reimplemented in ilSubEnabledFormPropertyGUI.

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

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

Reimplemented in ilSubEnabledFormPropertyGUI.

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

{
return "none";
}
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::setDisabled (   $a_disabled)

Set Disabled.

Parameters
boolean$a_disabledDisabled

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

Referenced by __construct(), ilTestEvaluationGUI\evalSettings(), and ilObjiLincClassroomGUI\initSettingsForm().

{
$this->disabled = $a_disabled;
}

+ Here is the caller 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(), and ilObjMediaCastGUI\initAddCastItemForm().

{
$this->postvar = $a_postvar;
}

+ 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(), and ilObjWikiGUI\initSettingsForm().

{
$this->title = $a_title;
}

+ Here is the caller graph for this function:

Field Documentation

ilFormPropertyGUI::$alert
protected

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

Referenced by getAlert().

ilFormPropertyGUI::$info
protected

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

Referenced by getInfo().

ilFormPropertyGUI::$postvar
protected

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

Referenced by getPostVar().

ilFormPropertyGUI::$required = false
protected

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

Referenced by getRequired().

ilFormPropertyGUI::$title
protected

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

Referenced by getTitle().

ilFormPropertyGUI::$type
protected

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

Referenced by getType().


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