mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-14 19:08:25 +00:00
commit
2acad7e94d
2 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,7 @@ class ClassRegistry {
|
|||
* stored in the registry and returned.
|
||||
* @param bool $strict if set to true it will return false if the class was not found instead
|
||||
* of trying to create an AppModel
|
||||
* @return bool|$class instance of ClassName.
|
||||
* @return bool|object $class instance of ClassName.
|
||||
* @throws CakeException when you try to construct an interface or abstract class.
|
||||
*/
|
||||
public static function init($class, $strict = false) {
|
||||
|
|
|
@ -120,9 +120,9 @@ class View extends CakeObject {
|
|||
public $view = null;
|
||||
|
||||
/**
|
||||
* Name of layout to use with this View.
|
||||
* Name of layout to use with this View. If `false` then no layout is rendered.
|
||||
*
|
||||
* @var string
|
||||
* @var string|bool
|
||||
*/
|
||||
public $layout = 'default';
|
||||
|
||||
|
|
Loading…
Reference in a new issue