PersistentObject: ezcPersistentObjectIdProperty
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentObjectIdProperty
|
Defines a persistent object id field. [
source]
The column must be of type int both in PHP and in the database. The default value will always be null.
Member Variables
|
public mixed |
$columnName
The name of the database field that stores the value. |
|
public mixed |
$generator
|
|
public mixed |
$propertyName
The name of the PersistentObject property that holds the value in the PHP object. |
|
public mixed |
$visibility
The visibility of the field. Can be either VISIBILITY_PRIVATE, VISIBILITY_PROTECTED or VISIBILITY_PUBLIC. |
Method Summary
|
public ezcPersistentObjectIdProperty |
__construct(
[$columnName = ''], [$propertyName = ''], [$visibility = ''], [$generator = null] )
Constructs a new PersistentObjectField |
|
public static ezcPersistentObjectIdProperty |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcPersistentObjectIdProperty __construct(
[
$columnName = ''], [
$propertyName = ''], [
$visibility = ''], [
ezcPersistentGeneratorDefinition
$generator = null] )
Constructs a new PersistentObjectField
Parameters
__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, 31 Jan 2008