[Abstract] The base class which implements XCube_PropertyInterface, for all properties. More...
Public Member Functions | |
__construct ( $name) | |
Constructor. | |
set ( $value) | |
Sets $value as raw value to this property. And the value is casted by the property's type'. | |
get ( $index=null) | |
Gets the value of this property. | |
isArray () | |
Gets a value indicating whether this object expresses Array. | |
isNull () | |
Gets a value indicating whether this object is null. | |
toNumber () | |
Gets a value as integer. | |
toString () | |
Gets a value as string. | |
toHTML () | |
Gets a value as encoded HTML code. | |
hasFetchControl () | |
Gets a value indicating whether this object has a fetch control. | |
![]() | |
get () | |
[Abstract] Gets the value of this property. | |
setValue ( $arg0=null, $arg1=null) | |
getValue ( $arg0=null) | |
fetch (&$form) | |
Data Fields | |
$mName | |
string | |
$mValue | |
string | |
[Abstract] The base class which implements XCube_PropertyInterface, for all properties.
__construct | ( | $name | ) |
Constructor.
string | $name | - A name of this property. |
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty, and XCube_ImageFileProperty.
get | ( | $index = null | ) |
Gets the value of this property.
null | $index |
hasFetchControl | ( | ) |
Gets a value indicating whether this object has a fetch control.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.
isArray | ( | ) |
Gets a value indicating whether this object expresses Array.
Reimplemented from XCube_PropertyInterface.
isNull | ( | ) |
Gets a value indicating whether this object is null.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.
set | ( | $value | ) |
Sets $value as raw value to this property. And the value is casted by the property's type'.
mixed | $value |
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_BoolProperty, XCube_FloatProperty, XCube_IntProperty, XCube_StringProperty, and XCube_TextProperty.
toHTML | ( | ) |
toNumber | ( | ) |
Gets a value as integer.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty, XCube_StringProperty, and XCube_TextProperty.
toString | ( | ) |
Gets a value as string.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.