public function __construct() { // Add location hinting for views // View::addLocation(app_path().'/components/media_manager/views'); // View::addNamespace('media_manager', app_path().'/components/media_manager/views'); parent::__construct(); }
public function __construct(Manager $translation_manager) { $this->translation_manager = $translation_manager; // $this->translation_manager->truncateTranslations(); // $this->translation_manager->importTranslations(); parent::__construct(); View::addNamespace('translation_manager', app_path() . "/Modules/Doptor/TranslationManager/Views/translations"); }
public function __construct() { @ini_set('max_execution_time', 300); // Temporarily increase maximum execution time parent::__construct(); $this->current_time = date("Y-m-d-H-i-s"); $this->backup_file = backup_path() . "/backup_{$this->current_time}.zip"; $this->restore_file = restore_path() . "/backup_{$this->current_time}.zip"; }
public function __construct() { // Add location hinting for views View::addLocation(app_path() . '/components/posts/views'); View::addNamespace('posts', app_path() . '/components/posts/views'); if (Request::is('backend/page-categories*')) { $this->type = 'page'; } else { $this->type = 'post'; } parent::__construct(); }
public function __construct() { $this->config = json_decode(file_get_contents(__DIR__ . '/../../module.json'), true); $this->forms = $this->config['forms']; $this->module_name = $this->config['info']['name']; $this->module_alias = $this->config['info']['alias']; $this->module_link = Str::snake($this->module_alias, '_'); View::share('module_name', $this->module_name); View::share('module_alias', $this->module_alias); View::share('module_link', $this->module_link); parent::__construct(); $this->type = $this->link_type; // Add location hinting for views View::addNamespace('contact_manager', app_path() . "/../resources/views/{$this->type}/{$this->current_theme}/contact_manager"); }
public function __construct() { $this->config = json_decode(file_get_contents(__DIR__ . '/../module.json'), true); $this->module_name = $this->config['info']['name']; $this->module_alias = $this->config['info']['alias']; $this->module_vendor = $this->config['info']['vendor']; $this->module_link = Str::snake($this->module_alias, '_'); if ($this->module_vendor) { $this->module_namespace = "Modules\\{$this->module_vendor}\\{$this->module_alias}\\"; } else { $this->module_namespace = "Modules\\{$this->module_alias}\\"; } View::share('module_name', $this->module_name); View::share('module_alias', $this->module_alias); View::share('module_vendor', $this->module_vendor); View::share('module_link', $this->module_link); parent::__construct(); $this->type = $this->link_type; // Add location hinting for views View::addNamespace($this->module_alias, app_path() . "/Modules/{$this->module_vendor}/{$this->module_alias}/Views"); }
public function __construct() { parent::__construct(); // Add location hinting for views View::addNamespace('newsletters', app_path() . "/Modules/Newsletter/Views/{$this->current_theme}/{$this->link_type}/newsletters"); }
function __construct(ModuleBuilder $moduleBuilder) { parent::__construct(); $this->moduleBuilder = $moduleBuilder; }
public function __construct() { parent::__construct(); // Add location hinting for views View::addNamespace('report_builders', app_path() . "/../resources/views/{$this->link_type}/{$this->current_theme}/report_builders"); }
public function __construct() { parent::__construct(); // Add location hinting for views View::addNamespace('contact_categories', app_path() . "/../resources/views/{$this->link_type}/{$this->current_theme}/contact_categories"); }
public function __construct(LanguageService $language_service) { $this->language_service = $language_service; parent::__construct(); View::addNamespace('language_manager', app_path() . "/Modules/Doptor/TranslationManager/Views/languages"); }
public function __construct(UserGroupManager $usergroup_manager) { $this->usergroup_manager = $usergroup_manager; parent::__construct(); }
function __construct(ModuleInstaller $moduleInstaller) { parent::__construct(); $this->moduleInstaller = $moduleInstaller; }
public function __construct() { parent::__construct(); View::addNamespace('slideshow', app_path() . "/Modules/Doptor/Slideshow/Views"); }