Skip to content
Snippets Groups Projects
Select Git revision
  • 80b84b5a06f4595a26f84bec03041b0e5ebf6ec0
  • 3.9 default
  • develop
  • 6.0
  • 5.0
  • 4.0
  • scrutinizer-patch-4
  • scrutinizer-patch-3
  • scrutinizer-patch-2
  • scrutinizer-patch-1
  • 3.7
  • 3.8
  • 3.6
  • 3.9_backported
  • 3.8_backported
  • 3.7_backported
  • 3.5
  • 3.6_backported
  • 3.5_backported
  • 3.4
  • 3.3_backported
  • 6.0.4
  • 6.0.3
  • 5.0.7
  • 6.0.2
  • 6.0.1
  • 5.0.6
  • 6.0.0
  • 5.0.5
  • 6.0.0-rc
  • 5.0.4
  • 6.0.0-beta
  • 5.0.3
  • 4.0.6
  • 5.0.2
  • 5.0.1
  • 4.0.5
  • 5.0.0
  • 4.0.4
  • 5.0.0-rc2
  • 5.0.0-rc1
41 results

modBookmark4u.class.php

Blame
  • View.php 1.03 KiB
    <?php
    
    class Application_View extends Nmc_View_UnlModern
    {
        protected $_sidebarModules = array();
    
        public function __construct($config = array())
        {
            parent::__construct($config);
    
            $this->addHelperPath(APPLICATION_PATH
                               . DIRECTORY_SEPARATOR . 'library'
                               . DIRECTORY_SEPARATOR . 'View'
                               . DIRECTORY_SEPARATOR . 'Helper', 'Application_View_Helper');
            $this->addCssFile('/ooss/index');
            $this->addCssFile('/ooss/common');
            $this->_sidebarModules[] = 'navigation';
            $this->title = "Curriculum Action Request";
            $this->breadcrumbs = '';
        }
    
        public function addSidebarModule($moduleName) {
            $this->_sidebarModules[] = $moduleName;
        }
    
        public function clearSidebarModules()
        {
            $this->_sidebarModules = array();
        }
    
        public function render($name)
        {
            if ($this->page) {
                $this->addCssFile('/ooss/' . $this->page);
            }
            return parent::render($name);
        }
    }