mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correct docblock see tags to ViewBlock
Fixes http://cakephp.lighthouseapp.com/projects/43067/tickets/97-about-api-description-of-viewassign
This commit is contained in:
parent
4fdd5e5d45
commit
ee9a545c7d
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