|
Doctrine 1.2.4
|
Inherited by Doctrine_Access, Doctrine_Configurable, and Doctrine_Hydrator_Abstract.
Public Member Functions | |
| bind ($name, $resource) | |
| getLocator () | |
| locate ($name) | |
| setLocator (Doctrine_Locator $locator) | |
Static Public Member Functions | |
| static | getNullObject () |
| static | initNullObject (Doctrine_Null $null) |
Definition at line 36 of file Injectable.php.
| Doctrine_Locator_Injectable::bind | ( | $name, | |
| $resource | |||
| ) |
bind binds a resource to a name
| string | $name | the name of the resource to bind |
| mixed | $value | the value of the resource |
Definition at line 120 of file Injectable.php.
| Doctrine_Locator_Injectable::getLocator | ( | ) |
getLocator returns the locator associated with this object
if there are no locator locally associated then this method tries to fetch the current global locator
Definition at line 75 of file Injectable.php.
|
static |
getNullObject returns the null object associated with this object
Definition at line 145 of file Injectable.php.
|
static |
initNullObject initializes the null object
| Doctrine_Null | $null |
Definition at line 134 of file Injectable.php.
| Doctrine_Locator_Injectable::locate | ( | $name | ) |
locate locates a resource by given name and returns it
if the resource cannot be found locally this method tries to use the global locator for finding the resource
| Doctrine_Locator_Exception | if the resource could not be found |
| string | $name | the name of the resource |
Definition at line 96 of file Injectable.php.
| Doctrine_Locator_Injectable::setLocator | ( | Doctrine_Locator | $locator | ) |
setLocator this method can be used for setting the locator object locally
| Doctrine_Locator | the locator object |
Definition at line 60 of file Injectable.php.