示例#1
0
文件: __rhaco__.php 项目: hisaboh/w2t
/**
 * 呼び出しもとのパッケージを起点としたパスを返す
 * @param string $path
 * @return string
 */
function module_path($path)
{
    return Rhaco::module_path($path, true);
}
示例#2
0
文件: Crud.php 项目: hisaboh/w2t
 public function models()
 {
     if ($this->login()) {
         $this->vars("models", $this->search_model());
         $this->vars("f", new CrudTools(""));
         $this->template(Rhaco::module_path("templates/models.html"));
     }
     return $this;
 }
示例#3
0
 public function invalid(Request $request)
 {
     $flow = new Flow();
     $flow->output(Rhaco::module_path("templates/login.html"));
 }