mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding new callbacks - testing them out.
This commit is contained in:
parent
d8c6594ff6
commit
3fe79564b5
1 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue