/** * alert popup javascript alert with $message and redirect to $url * * @param Pix_Controller $controller * @param string $message * @param string $url * @access public * @return void */ public function alert($controller, $message, $url) { $view = new Pix_Partial(__DIR__ . '/Alert/'); echo $view->partial('alert.phtml', array('message' => $message, 'url' => $url)); return $controller->noview(); }
/** * getHelperManager get Helper Manager * * @static * @access public * @return Pix_Helper_Manager */ public static function getHelperManager() { if (is_null(self::$_helper_manager)) { self::$_helper_manager = new Pix_Helper_Manager(); } return self::$_helper_manager; }