Class: Doctrine_Configurable
Source Location: /Doctrine/Configurable.phpClass Doctrine_Configurable
Class Overview
Doctrine_Configurable the base for Doctrine_Table, Doctrine_Manager and Doctrine_Connection Located in /Doctrine/Configurable.php [line 34] Doctrine_Object | --Doctrine_ConfigurableAuthor(s):
Information Tags:
|
[ Top ]
Direct descendents
Child Class | Description |
---|---|
Doctrine_Connection | Doctrine_Connection |
Doctrine_Manager | Doctrine_Manager is the base component of all doctrine based projects. |
Doctrine_Table | Doctrine_Table represents a database table each Doctrine_Table holds the information of foreignKeys and associations |
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Object |
Inherited From Doctrine_Object
|
[ Top ]
Property Summary
Method Summary
mixed | addListener() | addListener |
mixed | addRecordListener() | addRecordListener |
mixed | getAttribute() | returns the value of an attribute |
array | getAttributes() | getAttributes returns all attributes as an array |
Doctrine_Cache_Interface | getCacheDriver() | getCacheDriver |
string | getImpl() | getImpl returns the implementation for given class |
Doctrine_EventListener_Interface|Doctrine_Overloadable | getListener() | getListener |
Doctrine_Configurable | getParent() | getParent returns the parent of this component |
void | setAttribute() | setAttribute sets a given attribute |
void | setEventListener() | |
Doctrine_Configurable | setImpl() | setImpl binds given class to given template name |
Doctrine_Configurable | setListener() | setListener |
void | setParent() | sets a parent for this configurable component the parent must be configurable component itself |
Doctrine_Configurable | setRecordListener() | setListener |
[ Top ]
Properties
Methods
addListener [line 267]
|
addListener
Parameters:Doctrine_EventListener_Interface|Doctrine_Overloadable | $listener: | |
$name: |
API Tags:
Return: | this object |
Access: | public |
[ Top ]
addRecordListener [line 218]
|
addRecordListener
Parameters:Doctrine_EventListener_Interface|Doctrine_Overloadable | $listener: | |
$name: |
API Tags:
Return: | this object |
Access: | public |
[ Top ]
getAttribute [line 316]
|
returns the value of an attribute
Parameters:integer | $attribute: |
API Tags:
Access: | public |
Redefined in descendants as:
- Doctrine_Connection::getAttribute() : getAttribute retrieves a database connection attribute
[ Top ]
getAttributes [line 338]
|
getAttributes returns all attributes as an array
API Tags:
Access: | public |
[ Top ]
getCacheDriver [line 196]
|
getCacheDriver
API Tags:
Access: | public |
[ Top ]
getImpl [line 181]
|
getImpl returns the implementation for given class
Parameters:$template: |
API Tags:
Return: | name of the concrete implementation |
Access: | public |
[ Top ]
getListener [line 283]
|
getListener
API Tags:
Access: | public |
[ Top ]
getParent [line 359]
|
getParent returns the parent of this component
API Tags:
Access: | public |
[ Top ]
getRecordListener [line 234]
|
getListener
API Tags:
Access: | public |
[ Top ]
setAttribute [line 69]
|
setAttribute sets a given attribute
- // or
mixed | $attribute: | either a Doctrine::ATTR_* integer constant or a string corresponding to a constant |
mixed | $value: | the value of the attribute |
API Tags:
See: | Doctrine::ATTR_* constants |
Access: | public |
Information Tags:
Throws: | Doctrine_Exception if the value is invalid |
Redefined in descendants as:
- Doctrine_Connection::setAttribute() : setAttribute sets an attribute
[ Top ]
setEventListener [line 208]
|
Doctrine_EventListener | $listener: |
API Tags:
Access: | public |
[ Top ]
setImpl [line 169]
|
setImpl binds given class to given template name
this method is the base of Doctrine dependency injection
Parameters:string | $template: | name of the class template |
string | $class: | name of the class to be bound |
API Tags:
Return: | this object |
Access: | public |
[ Top ]
setListener [line 299]
|
setListener
Parameters:Doctrine_EventListener_Interface|Doctrine_Overloadable | $listener: |
API Tags:
Return: | this object |
Access: | public |
[ Top ]
setParent [line 349]
|
sets a parent for this configurable component the parent must be configurable component itself
Parameters:Doctrine_Configurable | $component: |
API Tags:
Access: | public |
[ Top ]
setRecordListener [line 250]
|
setListener
Parameters:Doctrine_EventListener_Interface|Doctrine_Overloadable | $listener: |
API Tags:
Return: | this object |
Access: | public |
[ Top ]