applicationTypeAdmin = new ApplicationTypeAdmin($this); $this->applicationTypeFrontend = new ApplicationTypeFrontend($this); } /** * @return ApplicationTypeAdmin */ public function getApplicationTypeAdmin() { return $this->applicationTypeAdmin; } /** * @return ApplicationTypeFrontend */ public function getApplicationTypeFrontend() { return $this->applicationTypeFrontend; } public function enqueueAssets() { if (Platform::isAdmin()) { Js::addGlobalInline('window.N2SSPRO=' . N2SSPRO . ';'); } } }