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(); }
public function initialize() { parent::initialize(); N2Loader::import(array('models.Sliders', 'models.Slides'), 'smartslider'); }
public function __construct($appType, $defaultParams) { ob_end_clean(); $this->response = new N2AjaxResponse($appType); parent::__construct($appType, $defaultParams); }