Skip to content

Commit

Permalink
Merge pull request #1242 from sime/noTypeInClassRegistryInit-master
Browse files Browse the repository at this point in the history
No use of type key in ClassRegistry::init()
  • Loading branch information
ADmad committed Apr 22, 2013
2 parents 62660c6 + 880c70c commit 4b1283f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/ClassRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);```
*
Expand Down

0 comments on commit 4b1283f

Please sign in to comment.