Exemple #1
0
/**
 * 呼び出しもとのパッケージを起点としたパスを返す
 * @param string $path
 * @return string
 */
function module_path($path)
{
    return Rhaco::module_path($path, true);
}
Exemple #2
0
 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;
 }
Exemple #3
0
 public function invalid(Request $request)
 {
     $flow = new Flow();
     $flow->output(Rhaco::module_path("templates/login.html"));
 }