No use of type key in ClassRegistry::init()

This commit is contained in:
Simon Males 2013-04-22 11:52:03 +08:00
parent 62660c6706
commit 880c70cc8c

View file

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