Exemple #1
0
 /**
  * Load helper file
  * @param string $a_helper
  * @return string
  */
 public static final function helper($a_helper)
 {
     $v = null;
     try {
         $v = ZLoader::helper($a_helper);
     } catch (ZHelperException $e) {
         if (Zoombi::getApplication()->isMode(ZApplication::MODE_DEBUG)) {
             throw $e;
         }
     } catch (Exception $e) {
         if (Zoombi::getApplication()->isMode(ZApplication::MODE_DEBUG)) {
             throw $e;
         }
     }
     return $v;
 }