PersistentObject: ezcPersistentObjectProperty
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentObjectProperty
|
Defines a persistent object field. [
source]
Constants
Member Variables
|
public mixed |
$columnName
= null
The name of the database field that stores the value. |
|
public mixed |
$propertyName
= null
The name of the PersistentObject property that holds the value in the PHP object. |
|
public mixed |
$propertyType
= null
The type of the PHP property.. |
Method Summary
|
public ezcPersistentObjectProperty |
__construct(
[$columnName = ''], [$propertyName = ''], [$type = ''] )
Constructs a new PersistentObjectField |
|
public static ezcPersistentObjectProperty |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcPersistentObjectProperty __construct(
[
$columnName = ''], [
$propertyName = ''], [
$type = ''] )
Constructs a new PersistentObjectField
Parameters
| Name |
Type |
Description |
$columnName |
|
|
$propertyName |
|
|
$type |
|
|
__set_state
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.
Last updated: Thu, 01 Nov 2007