|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
[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. | |
Public Member Functions inherited from XCube_PropertyInterface | |
| 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.
Definition at line 125 of file XCube_Property.class.php.
| __construct | ( | $name | ) |
Constructor.
| string | $name | - A name of this property. |
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty, and XCube_ImageFileProperty.
Definition at line 144 of file XCube_Property.class.php.
| get | ( | $index = null | ) |
Gets the value of this property.
| null | $index |
Definition at line 168 of file XCube_Property.class.php.
| hasFetchControl | ( | ) |
Gets a value indicating whether this object has a fetch control.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.
Definition at line 227 of file XCube_Property.class.php.
| isArray | ( | ) |
Gets a value indicating whether this object expresses Array.
Reimplemented from XCube_PropertyInterface.
Definition at line 181 of file XCube_Property.class.php.
| isNull | ( | ) |
Gets a value indicating whether this object is null.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.
Definition at line 190 of file XCube_Property.class.php.
| 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.
Definition at line 156 of file XCube_Property.class.php.
| toHTML | ( | ) |
Gets a value as encoded HTML code.
Reimplemented from XCube_PropertyInterface.
Definition at line 218 of file XCube_Property.class.php.
| toNumber | ( | ) |
Gets a value as integer.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty, XCube_StringProperty, and XCube_TextProperty.
Definition at line 199 of file XCube_Property.class.php.
| toString | ( | ) |
Gets a value as string.
Reimplemented from XCube_PropertyInterface.
Reimplemented in XCube_FileProperty.
Definition at line 208 of file XCube_Property.class.php.
| $mName |
string
Definition at line 130 of file XCube_Property.class.php.
| $mValue |
string
Definition at line 136 of file XCube_Property.class.php.