Fixed some API doc in views.

This commit is contained in:
Juan Basso 2011-07-28 22:45:47 -04:00
parent a0ee8b49fe
commit 02f290ac52
17 changed files with 64 additions and 47 deletions

View file

@ -49,6 +49,7 @@ class CacheHelper extends AppHelper {
/**
* Parses the view file and stores content for cache file building.
*
* @param string $viewFile
* @return void
*/
public function afterRender($viewFile) {
@ -61,6 +62,7 @@ class CacheHelper extends AppHelper {
/**
* Parses the layout file and stores content for cache file building.
*
* @param string $layoutFile
* @return void
*/
public function afterLayout($layoutFile) {
@ -134,6 +136,7 @@ class CacheHelper extends AppHelper {
*
* @param string $file The filename that needs to be parsed.
* @param string $cache The cached content
* @return void
*/
protected function _parseFile($file, $cache) {
if (is_file($file)) {
@ -205,6 +208,7 @@ class CacheHelper extends AppHelper {
*
* @param string $content view content to write to a cache file.
* @param sting $timestamp Duration to set for cache file.
* @param boolean $useCallbacks
* @return boolean success of caching view.
*/
protected function _writeFile($content, $timestamp, $useCallbacks = false) {