mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-10 05:22:41 +00:00
Fixed some API doc in views.
This commit is contained in:
parent
a0ee8b49fe
commit
02f290ac52
17 changed files with 64 additions and 47 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue