Пример #1
0
 /**
  * 
  * @access protected
  * @return void
  */
 protected function _includeCssController()
 {
     $ds = '/';
     $file = 'public' . $ds . 'styles' . $ds . 'controller' . $ds . $this->_request->getModuleName() . $ds . $this->_request->getControllerName() . '.css';
     if (file_exists(APPLICATION_PATH . $ds . '..' . $ds . $file)) {
         $view = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('view');
         $view->headLink()->appendStylesheet($view->baseUrl($file));
     }
 }