PersistentObject: ezcPersistentCodeManager
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentCodeManager
|
Handles persistent object definitions in plain code style. [
source]
Each definition must be in a separate file in the directory specified to the constructor. The filename must be the same as the lowercase name of the persistent object class with .php appended. Each file should return the definition of one persistent object class.
Parents
ezcPersistentDefinitionManager
|
--ezcPersistentCodeManager
Method Summary
|
public ezcPersistentCodeManager |
__construct(
$dir )
Constructs a new code manager that will look for persistent object definitions in the directory $dir. |
|
public ezcPersistentDefinition |
fetchDefinition(
$class )
Returns the definition of the persistent object with the class $class. |
Inherited Methods
From
ezcPersistentDefinitionManager :
Methods
__construct
ezcPersistentCodeManager __construct(
string
$dir )
Constructs a new code manager that will look for persistent object definitions in the directory $dir.
Parameters
| Name |
Type |
Description |
$dir |
string |
|
fetchDefinition
ezcPersistentDefinition fetchDefinition(
string
$class )
Returns the definition of the persistent object with the class $class.
Parameters
| Name |
Type |
Description |
$class |
string |
|
Throws
| Class | Description |
ezcPersistentDefinitionNotFoundException |
if no such definition can be found. |
Redefinition of
Last updated: Fri, 02 Nov 2007