Adding new callbacks - testing them out.

This commit is contained in:
mark_story 2011-10-01 20:44:45 -04:00
parent d8c6594ff6
commit 3fe79564b5

View file

@ -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