Issues

ZF-11404: Zend_Application_Resource_Cachemanager example fail

Issue Type: Docs: Problem Created: 2011-05-24T10:50:30.000+0000 Last Updated: 2011-07-30T04:39:17.000+0000 Status: Resolved Fix version(s): - 1.11.10 (04/Aug/11)

Reporter: Jace Ju (jaceju) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Application_Resource

Related issues: Attachments:

Description

In http://framework.zend.com/manual/en/…

The exsample for Zend_Application_Resource_Cachemanager:

$manager = $this->getFrontController() ->getParam('bootstrap') ->getResource('cachemanager') ->getCacheManager(); $dbCache = $manager->getCache('database');

It should be:

$manager = $this->getFrontController() ->getParam('bootstrap') ->getResource('cachemanager'); $dbCache = $manager->getCache('database');

Comments

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2011-06-04T00:21:06.000+0000

Assigning to the author of the class in question.

Posted by Ramon Henrique Ornelas (ramon) on 2011-07-30T04:39:17.000+0000

Fix r24313.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts