mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
No use of type key in ClassRegistry::init()
This commit is contained in:
parent
62660c6706
commit
880c70cc8c
1 changed files with 1 additions and 1 deletions
|
@ -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);```
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue