Example #1
0
 /**
  * print message
  *
  * @access public
  * @param  string  $message
  * @param  string  $redirect    - default 'index.php'
  * @param  boolean $auto_footer - default true
  **/
 public function print_success($message, $redirect = 'index.php', $auto_footer = true)
 {
     CAT_Backend::updateWhenModified();
     CAT_Object::printMsg($message, $redirect, $auto_footer);
 }
Example #2
0
 public function print_success($message, $redirect = 'index.php', $auto_footer = true)
 {
     // this sets auto_exit to false, as some WB modules (like Bakery)
     // have additional code after calling print_success()
     CAT_Object::printMsg($message, $redirect, $auto_footer, false);
 }