Public Member Functions | |
__construct ($module_srl, $idx, $name, $type= 'text', $default=null, $desc= '', $is_required= 'N', $search= 'N', $value=null, $eid= '') | |
setValue ($value) | |
_getTypeValue ($type, $value) | |
getValue () | |
getValueHTML () | |
getFormHTML () | |
Public Attributes | |
$module_srl = 0 | |
$idx = 0 | |
$name = 0 | |
$type = 'text' | |
$default = null | |
$desc = '' | |
$is_required = 'N' | |
$search = 'N' | |
$value = null | |
$eid = '' | |
Each value of the extra vars
Definition at line 83 of file Extravar.class.php.
ExtraItem::__construct | ( | $module_srl, | |
$idx, | |||
$name, | |||
$type = 'text' , |
|||
$default = null , |
|||
$desc = '' , |
|||
$is_required = 'N' , |
|||
$search = 'N' , |
|||
$value = null , |
|||
$eid = '' |
|||
) |
Constructor
int | $module_srl | Sequence of module |
int | $idx | Index of extra variable |
string | $type | Type of extra variable. text, homepage, email_address, tel, textarea, checkbox, date, sleect, radio, kr_zip |
string[] | $default Default values | |
string | $desc | Description |
string | $is_required | Whether required or not requred this extra variable. Y, N |
string | $search | Whether can or can not search this extra variable |
string | $value | Value |
string | $eid | Unique id of extra variable in module |
Definition at line 160 of file Extravar.class.php.
ExtraItem::_getTypeValue | ( | $type, | |
$value | |||
) |
Returns a given value converted based on its type
string | $type | Type of variable |
string | $value | Value |
Definition at line 197 of file Extravar.class.php.
ExtraItem::getFormHTML | ( | ) |
Returns a form based on its type
Definition at line 355 of file Extravar.class.php.
ExtraItem::getValue | ( | ) |
Returns a value for HTML
Definition at line 297 of file Extravar.class.php.
ExtraItem::getValueHTML | ( | ) |
Returns a value for HTML
Definition at line 307 of file Extravar.class.php.
ExtraItem::setValue | ( | $value | ) |
Sets Value
string | $value | The value to set |
Definition at line 185 of file Extravar.class.php.
ExtraItem::$default = null |
Definition at line 114 of file Extravar.class.php.
ExtraItem::$desc = '' |
Definition at line 120 of file Extravar.class.php.
ExtraItem::$eid = '' |
Definition at line 144 of file Extravar.class.php.
ExtraItem::$idx = 0 |
Definition at line 96 of file Extravar.class.php.
ExtraItem::$is_required = 'N' |
Definition at line 126 of file Extravar.class.php.
ExtraItem::$module_srl = 0 |
Definition at line 90 of file Extravar.class.php.
ExtraItem::$name = 0 |
Definition at line 102 of file Extravar.class.php.
ExtraItem::$search = 'N' |
Definition at line 132 of file Extravar.class.php.
ExtraItem::$type = 'text' |
Definition at line 108 of file Extravar.class.php.
ExtraItem::$value = null |
Definition at line 138 of file Extravar.class.php.