Skip to content

Commit

Permalink
Adding stub callbacks so errors aren't generated.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 11, 2010
1 parent 1c1c4be commit f8ecb10
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cake/libs/view/helpers/session.php
Expand Up @@ -116,4 +116,32 @@ public function flash($key = 'flash') {
public function valid() {
return CakeSession::valid();
}

/**
* stub method to make helper less complainey
*
* @return void
*/
public function beforeRender() { }

/**
* stub method to make helper less complainey
*
* @return void
*/
public function beforeLayout() { }

/**
* stub method to make helper less complainey
*
* @return void
*/
public function afterRender() { }

/**
* stub method to make helper less complainey
*
* @return void
*/
public function afterLayout() { }
}

0 comments on commit f8ecb10

Please sign in to comment.