Definition at line 6 of file oxfield.php.
Public Member Functions | |
__construct ($value=null, $type=self::T_TEXT) | |
__isset ($sName) | |
__get ($sName) | |
__toString () | |
convertToFormattedDbDate () | |
convertToPseudoHtml () | |
setValue ($value=null, $type=self::T_TEXT) | |
getRawValue () | |
Public Attributes | |
const | T_TEXT = 1 |
const | T_RAW = 2 |
Protected Member Functions | |
_initValue ($value=null, $type=self::T_TEXT) |
oxField.__construct | ( | $ | value = null , |
|
$ | type = self::T_TEXT | |||
) |
Constructor Initial value assigment is coded here by not calling a function is for performance because oxField is created MANY times and even a function call matters
mixed | $value Field value | |
int | $type Value type |
Definition at line 21 of file oxfield.php.
oxField.__isset | ( | $ | sName | ) |
Checks if $name is set
string | $sName Variable name |
Definition at line 43 of file oxfield.php.
oxField.__get | ( | $ | sName | ) |
Magic getter
string | $sName Variable name |
Definition at line 62 of file oxfield.php.
oxField.__toString | ( | ) |
oxField.convertToFormattedDbDate | ( | ) |
oxField.convertToPseudoHtml | ( | ) |
Converts to pseudo html - new lines to
tags
Definition at line 108 of file oxfield.php.
oxField._initValue | ( | $ | value = null , |
|
$ | type = self::T_TEXT | |||
) | [protected] |
Initila field value
mixed | $value Field value | |
int | $type Value type |
Definition at line 121 of file oxfield.php.
oxField.setValue | ( | $ | value = null , |
|
$ | type = self::T_TEXT | |||
) |
Sets field value and type
mixed | $value Field value | |
int | $type Value type |
Definition at line 141 of file oxfield.php.
oxField.getRawValue | ( | ) |
const oxField.T_TEXT = 1 |
Definition at line 8 of file oxfield.php.
const oxField.T_RAW = 2 |
Definition at line 9 of file oxfield.php.