module; if (!isset(self::$classInstance[$module . $name])) { $className = '\\' . APPNS . '\\' . $module . '\\model\\' . $name; if (class_exists($className)) { self::$classInstance[$module . $name] = new $className(); } else { self::$classInstance[$module . $name] = new Model($name); } } return self::$classInstance[$module . $name]; } }