Skip to content
Permalink
Browse files

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

  • Loading branch information...
sime committed Apr 22, 2013
1 parent 62660c6 commit 880c70cc8c7977c6ac8d55b0d836c55a018dbcb8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/ClassRegistry.php
@@ -73,7 +73,7 @@ public static function getInstance() {
* 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);```
*

0 comments on commit 880c70c

Please sign in to comment.
You can’t perform that action at this time.