Browse Source

Merge pull request #805 from shama/doc-viewblock

Correct docblock see tags from View to ViewBlock
Mark Story 13 years ago
parent
commit
1239d39b16
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/Cake/View/View.php

+ 3 - 3
lib/Cake/View/View.php

@@ -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();