예제 #1
0
 /**
  * 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
 /**
  * @return bool
  */
 public static function ajaxLogin()
 {
     return static::renderHtml(Snippets::login('ajaxLogin'));
 }