diff --git a/lib/Cake/View/Helper.php b/lib/Cake/View/Helper.php index 6cba6380b..e51f0917b 100644 --- a/lib/Cake/View/Helper.php +++ b/lib/Cake/View/Helper.php @@ -753,6 +753,28 @@ class Helper extends Object { public function afterLayout($layoutFile) { } +/** + * Before render file callback. Called before any view fragment is rendered. + * + * Overridden in subclasses. + * + * @param string $viewFile The file about to be rendered. + * @return void + */ + public function beforeRenderFile($viewfile) { + } + +/** + * After render file callback. Called before any view fragment is rendered. + * + * Overridden in subclasses. + * + * @param string $viewFile The file about to be rendered. + * @return void + */ + public function afterRenderFile($viewfile) { + } + /** * Transforms a recordset from a hasAndBelongsToMany association to a list of selected * options for a multiple select element