/** * 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/'); }
public function initialize() { LVC::registerControllerNamespace(new controllers\Upload()); }
/** * Initialize the module */ public function initialize() { LVC::registerControllerNamespace(new controllers\AssetPipeline()); }
/** * Registers the module controller namespace and the views directory */ public function initialize() { LVC::registerControllerNamespace(new controllers\Registration()); LVC::registerViewDirectory(static::getPath() . '/views/'); }