Definition at line 7 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 22 of file oxfield.php.
oxField.__isset | ( | $ | sName | ) |
Checks if $name is set
string | $sName Variable name |
Definition at line 44 of file oxfield.php.
oxField.__get | ( | $ | sName | ) |
Magic getter
string | $sName Variable name |
Definition at line 63 of file oxfield.php.
oxField.__toString | ( | ) |
oxField.convertToFormattedDbDate | ( | ) |
oxField.convertToPseudoHtml | ( | ) |
Converts to pseudo html - new lines to
tags
Definition at line 109 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 122 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 142 of file oxfield.php.
oxField.getRawValue | ( | ) |
const oxField.T_TEXT = 1 |
Definition at line 9 of file oxfield.php.
const oxField.T_RAW = 2 |
Definition at line 10 of file oxfield.php.