Merge pull request #1242 from sime/noTypeInClassRegistryInit-master

No use of type key in ClassRegistry::init()
This commit is contained in:
ADmad 2013-04-21 22:59:33 -07:00
commit 4b1283f002

View file

@ -73,7 +73,7 @@ class ClassRegistry {
* Examples
* Simple Use: Get a Post model instance ```ClassRegistry::init('Post');```
*
* Expanded: ```array('class' => 'ClassName', 'alias' => 'AliasNameStoredInTheRegistry', 'type' => 'Model');```
* Expanded: ```array('class' => 'ClassName', 'alias' => 'AliasNameStoredInTheRegistry');```
*
* Model Classes can accept optional ```array('id' => $id, 'table' => $table, 'ds' => $ds, 'alias' => $alias);```
*