Esempio n. 1
0
 /**
  * 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();
 }
Esempio n. 2
0
 /**
  * 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;
 }