mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fixes #5469
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7648 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c8ab1ec092
commit
e245d18ed8
1 changed files with 3 additions and 1 deletions
|
@ -409,7 +409,9 @@ class Controller extends Object {
|
|||
/**
|
||||
* Loads and instantiates models required by this controller.
|
||||
* If Controller::persistModel; is true, controller will create cached model instances on first request,
|
||||
* additional request will used cached models
|
||||
* additional request will used cached models.
|
||||
* If the model is non existent, it will throw a missing database table error, as Cake generates
|
||||
* dynamic models for the time being.
|
||||
*
|
||||
* @param string $modelClass Name of model class to load
|
||||
* @param mixed $id Initial ID the instanced model class should have
|
||||
|
|
Loading…
Reference in a new issue