ILIAS
eassessment Revision 61809
|
This class represents a width/height item in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setWidth ($a_width) | |
Set Width. | |
getWidth () | |
Get Width. | |
setHeight ($a_height) | |
Set Height. | |
getHeight () | |
Get Height. | |
setConstrainProportions ($a_constrainproportions) | |
Set Constrain Proportions. | |
getConstrainProportions () | |
Get Constrain Proportions. | |
checkInput () | |
Check input, strip slashes etc. | |
insert ($a_tpl) | |
Insert property html. | |
setValueByArray ($a_values) | |
Set value by array. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | 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. | |
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) |
Protected Attributes | |
$value | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. |
This class represents a width/height item in a property form.
Definition at line 12 of file class.ilWidthHeightInputGUI.php.
ilWidthHeightInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 22 of file class.ilWidthHeightInputGUI.php.
References ilFormPropertyGUI\setType().
ilWidthHeightInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 94 of file class.ilWidthHeightInputGUI.php.
References $_POST, $dir, $lng, $value, ilFormPropertyGUI\getPostVar(), setHeight(), setWidth(), and ilUtil\stripSlashes().
ilWidthHeightInputGUI::getConstrainProportions | ( | ) |
Get Constrain Proportions.
Definition at line 84 of file class.ilWidthHeightInputGUI.php.
Referenced by insert().
ilWidthHeightInputGUI::getHeight | ( | ) |
Get Height.
Definition at line 64 of file class.ilWidthHeightInputGUI.php.
Referenced by insert().
ilWidthHeightInputGUI::getWidth | ( | ) |
Get Width.
Definition at line 44 of file class.ilWidthHeightInputGUI.php.
Referenced by insert().
ilWidthHeightInputGUI::insert | ( | $a_tpl | ) |
Insert property html.
Definition at line 130 of file class.ilWidthHeightInputGUI.php.
References $dir, $GLOBALS, $lng, $tpl, $value, getConstrainProportions(), getHeight(), ilFormPropertyGUI\getPostVar(), and getWidth().
ilWidthHeightInputGUI::setConstrainProportions | ( | $a_constrainproportions | ) |
Set Constrain Proportions.
boolean | $a_constrainproportions | Constrain Proportions |
Definition at line 74 of file class.ilWidthHeightInputGUI.php.
Referenced by ilPCMediaObjectGUI\initAliasForm(), ilObjMediaObjectGUI\initForm(), and setValueByArray().
ilWidthHeightInputGUI::setHeight | ( | $a_height | ) |
Set Height.
integer | $a_height | Height |
Definition at line 54 of file class.ilWidthHeightInputGUI.php.
Referenced by checkInput(), and setValueByArray().
ilWidthHeightInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 171 of file class.ilWidthHeightInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setConstrainProportions(), setHeight(), and setWidth().
ilWidthHeightInputGUI::setWidth | ( | $a_width | ) |
Set Width.
integer | $a_width | Width |
Definition at line 34 of file class.ilWidthHeightInputGUI.php.
Referenced by checkInput(), and setValueByArray().
|
protected |
Definition at line 14 of file class.ilWidthHeightInputGUI.php.
Referenced by checkInput(), and insert().