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; }
public static function setModTemplate($module, $template) { self::$mod_template = self::$mod_dir . '/' . $module . '/' . self::$modviews_dir . '/' . $template . '.php'; }