[ Index ] |
|
Code source de CakePHP 1.1.13.4450 |
[Code source] [Imprimer] [Statistiques]
Class collections. A repository for class objects, each registered with a key.
Copyright: | Copyright 2005-2007, Cake Software Foundation, Inc. |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
Version: | $Revision: 4450 $ |
Poids: | 108 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ClassRegistry:: (5 méthodes):
getInstance()
addObject()
removeObject()
isKeySet()
getObject()
Classe: ClassRegistry - X-Ref
Class Collections.getInstance() X-Ref |
Return a singleton instance of the ClassRegistry. return: ClassRegistry instance |
addObject($key, &$object) X-Ref |
Add $object to the registry, associating it with the name $key. param: string $key param: mixed $object |
removeObject($key) X-Ref |
Remove object which corresponds to given key. param: string $key return: void |
isKeySet($key) X-Ref |
Returns true if given key is present in the ClassRegistry. param: string $key Key to look for return: boolean Success |
getObject($key) X-Ref |
Return object which corresponds to given key. param: string $key return: mixed |
Généré le : Sun Feb 25 19:27:47 2007 | par Balluche grâce à PHPXref 0.7 |