Esempio n. 1
0
 public function initialize()
 {
     // Prevent browser from cache on backward button.
     header("Cache-Control: no-store");
     parent::initialize();
     N2AssetsPredefined::frontend();
     N2AssetsPredefined::backend();
     $this->appType->app->info->assetsBackend();
 }
Esempio n. 2
0
 public function initialize()
 {
     parent::initialize();
     N2Loader::import(array('models.Sliders', 'models.Slides'), 'smartslider');
 }
Esempio n. 3
0
 public function __construct($appType, $defaultParams)
 {
     ob_end_clean();
     $this->response = new N2AjaxResponse($appType);
     parent::__construct($appType, $defaultParams);
 }