mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #805 from shama/doc-viewblock
Correct docblock see tags from View to ViewBlock
This commit is contained in:
commit
1239d39b16
1 changed files with 3 additions and 3 deletions
|
@ -651,7 +651,7 @@ class View extends Object {
|
|||
* @param string $value The content for the block.
|
||||
* @return void
|
||||
* @throws CakeException when you use non-string values.
|
||||
* @see ViewBlock::assign()
|
||||
* @see ViewBlock::set()
|
||||
*/
|
||||
public function assign($name, $value) {
|
||||
return $this->Blocks->set($name, $value);
|
||||
|
@ -663,7 +663,7 @@ class View extends Object {
|
|||
*
|
||||
* @param string $name Name of the block
|
||||
* @return The block content or '' if the block does not exist.
|
||||
* @see ViewBlock::fetch()
|
||||
* @see ViewBlock::get()
|
||||
*/
|
||||
public function fetch($name) {
|
||||
return $this->Blocks->get($name);
|
||||
|
@ -673,7 +673,7 @@ class View extends Object {
|
|||
* End a capturing block. The compliment to View::start()
|
||||
*
|
||||
* @return void
|
||||
* @see ViewBlock::start()
|
||||
* @see ViewBlock::end()
|
||||
*/
|
||||
public function end() {
|
||||
return $this->Blocks->end();
|
||||
|
|
Loading…
Reference in a new issue