73,22 → 73,8 |
} |
|
/** |
* Assigns a value to a template variable (after this, |
* <var>$value</var> is available through |
* <code>$this-><var>$name</var></code> in the view's template). |
* <code>Controller</code>s should call this method instead of |
* {@link View::assign()}. |
* |
* @param string $name |
* Variable name |
* @param mixed $value |
* Variable value |
* @param bool $encodeHTML |
* If <code>true</code>, replace all potentially conflicting |
* characters in <var>$value</var> with their HTML entity |
* references. The default is <code>false</code>. |
* @return mixed The assigned value (after possible HTML encoding) |
* @see View::encodeHTML() |
* (non-PHPDoc) |
* @see View::assign() |
*/ |
protected function assign($name, $value, $encodeHTML = false) |
{ |
96,6 → 82,24 |
} |
|
/** |
* (non-PHPDoc) |
* @see View::addStylesheet() |
*/ |
protected function addStylesheet ($uri, $key = null) |
{ |
return $this->_view->addStylesheet($uri, $key); |
} |
|
/** |
* (non-PHPDoc) |
* @see View::addSscript() |
*/ |
protected function addScript ($uri, $key = null) |
{ |
return $this->_view->addScript ($uri, $key); |
} |
|
/** |
* Renders the {@link View} associated with this controller |
* by including the <code>View</code>'s template. |
* <code>Controller</code>s should call this method instead of |