Exemple #1
0
 public static function &getView($module, $class, $method, $params = array(), $type = '')
 {
     try {
         $data = self::getData($module, $class, $method, $params, $type);
         $output = wbTemplate::getModView($data);
     } catch (Exception $e) {
         $output = $e->getMessage();
     }
     return $output;
 }
Exemple #2
0
 public static function setModTemplate($module, $template)
 {
     self::$mod_template = self::$mod_dir . '/' . $module . '/' . self::$modviews_dir . '/' . $template . '.php';
 }