コード例 #1
0
ファイル: Bootstrap.php プロジェクト: scandio/lmvc-modules
 /**
  * Registers the module controller namespace and the views directory
  */
 public function initialize()
 {
     LVC::registerControllerNamespace(new controllers\Security());
     LVC::registerViewDirectory(static::getPath() . '/views/');
     Snippets::registerSnippetDirectory(self::getPath() . '/snippets/');
 }
コード例 #2
0
ファイル: Security.php プロジェクト: scandio/lmvc-modules
 /**
  * @return bool
  */
 public static function ajaxLogin()
 {
     return static::renderHtml(Snippets::login('ajaxLogin'));
 }