protected function scripts()
    {
        $assetService = $this->getServiceLocator()->get(AssetService::SERVICE_ID);
        $cssFiles = [
            $assetService->getAsset('css/layout.css', 'tao'),
            $assetService->getAsset('css/tao-main-style.css', 'tao'),
            $assetService->getAsset('css/tao-3.css', 'tao')
        ];

        //stylesheets to load
        \tao_helpers_Scriptloader::addCssFiles($cssFiles);

        if(\common_session_SessionManager::isAnonymous()) {
            \tao_helpers_Scriptloader::addCssFile(
                $assetService->getAsset('css/portal.css', 'tao')
            );
        }
    }
protected function scripts()
    {
        $assetService = $this->getServiceLocator()->get(AssetService::SERVICE_ID);
        $cssFiles = [
            $assetService->getAsset('css/layout.css', 'tao'),
            $assetService->getAsset('css/tao-main-style.css', 'tao'),
            $assetService->getAsset('css/tao-3.css', 'tao')
        ];

        //stylesheets to load
        \tao_helpers_Scriptloader::addCssFiles($cssFiles);

        if(\common_session_SessionManager::isAnonymous()) {
            \tao_helpers_Scriptloader::addCssFile(
                $assetService->getAsset('css/portal.css', 'tao')
            );
        }
    }
protected function scripts ( ) { $ assetService = $ this -> getServiceLocator ( ) -> get ( AssetService :: SERVICE_ID ) ; $ cssFiles = [ $ assetService -> getAsset ( 'css/layout.css' , 'tao' ) , $ assetService -> getAsset ( 'css/tao-main-style.css' , 'tao' ) , $ assetService -> getAsset ( 'css/tao-3.css' , 'tao' ) ] ; //stylesheets to load \ tao_helpers_Scriptloader :: addCssFiles ( $ cssFiles ) ; if ( \ common_session_SessionManager :: isAnonymous ( ) ) { \ tao_helpers_Scriptloader :: addCssFile ( $ assetService -> getAsset ( 'css/portal.css' , 'tao' ) ) ; } }
Load external resources for the current context
@see \tao_helpers_Scriptloader
Load external resources for the current context