mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removed the little doc that lied
View::get() never looked up blocks
This commit is contained in:
parent
20ef10aca2
commit
992ab5ea11
1 changed files with 1 additions and 2 deletions
|
@ -597,8 +597,7 @@ class View extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the contents of the given View variable or a block.
|
||||
* Blocks are checked before view variables.
|
||||
* Returns the contents of the given View variable.
|
||||
*
|
||||
* @param string $var The view var you want the contents of.
|
||||
* @param mixed $default The default/fallback content of $var.
|
||||
|
|
Loading…
Reference in a new issue