Skip to main content

Home/ Zend Framework/ Group items tagged bootstrap

Rss Feed Group items tagged

back-2-95

Nabble - Zend Framework - Bootstrap Resource usage in model - best practice advice please - 0 views

  • public function getCache(){     if (null === $this->_cache) {        $this->_cache = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('Cache');     }    return $this->_cache;}
    • back-2-95
       
      One way to get bootstrap resource from eg. model or anywhere in your Zend application
  •  
    Bootstrap resurssien käytöstä
1 - 1 of 1
Showing 20 items per page