Re: [fw-general] Zend Framework 1.6.1 is now available! - ok, but where are the downloadable docs?
Thank you, Matthew! Much appreciated. -- View this message in context: http://www.nabble.com/Zend-Framework-1.6.1-is-now-available%21-tp19505380p19746665.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Zend Framework 1.6.1 is now available! - ok, but where are the downloadable docs?
Sorry to be pain in the butt again, but why we're no longer able to download this: http://framework.zend.com/apidoc/core/ and this: http://framework.zend.com/manual/en/ in HTML format (not the PDF), like we used to do it prior to 1.6.0 release? Sometimes I have to work in "offline" mode and it definitely helps to have the docs locally (not to mention that it's faster). Matthew had mentioned to me 2-3 weeks ago that they are working on it, but it seems that things are getting worse - at least I could get /manual/en/ prior to 1.6.1 release! (or is it just me - cannot find the link?!) Thanks, Temuri wllm wrote: > > Hi all, > > It is my pleasure to announce the release of Zend Framework 1.6.1! You > can download this new mini release from the ZF download site: > > http://framework.zend.com/download/current/ > > A list of all issues resolved in this release can be found at: > > http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=10 > 852 > > At the risk of sounding like a broken record, we'd like to thank our > generous Zend Framework community for the time and effort they have > invested to make this release possible. Enjoy! > > ,Wil > > > -- View this message in context: http://www.nabble.com/Zend-Framework-1.6.1-is-now-available%21-tp19505380p19745413.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Zend Framework 1.6 is now available! - great, but where's API downloadable documentation?
Hi, Will we be able to download API documentation for 1.6.0? Thanks, Temuri -- View this message in context: http://www.nabble.com/Zend-Framework-1.6-is-now-available%21-tp19300419p19358836.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Zend_Cache with 'Class' frontend - problem with __construct($a, $b)
Hi, thanks for the response. Not sure this is exactly what I had in mind. ZF manual contains the following example: ---8< class test { public function foobar2($param1, $param2) {...} } $frontendOptions = array( 'cached_entity' => new test() // An instance of the class ); $cache = Zend_Cache::factory(...); # The cached call $res = $cache->foobar2('1', '2'); ---8< This is all fine and dandy when you're interested in any method other than a constructor. However, I am trying to cache the class that's instantiated based on *mandatory* constructor parameters, and it may not have any other methods: $_myClass = new myClass($a, b); So, I figured it should say: $frontendOptions = array( 'cached_entity' => new myClass($a, b) // An instance of the class ); $cache = Zend_Cache::factory('Class', 'File', $frontendOptions, $backendOptions); The problem is, how should I use $cache to fetch cached instance of $myClass? Temuri Josh Team wrote: > > I use the Registry for this. So in your bootstrap: > > Zend_Registry::set('cache', Zend_Cache::factory( ... )); > > then in your action or wherever: > > Zend_Registry::get('cache')->save($var, 'var'); > Zend_Registry::get('cache')->load('var') > > Hope this helps! > > -- View this message in context: http://www.nabble.com/Zend_Cache-with-%27Class%27-frontend---problem-with-__construct%28%24a%2C-%24b%29-tp18834887p18835410.html Sent from the Zend Framework mailing list archive at Nabble.com.
[fw-general] Zend_Cache with 'Class' frontend - problem with __construct($a, $b)
Hi all, I'm trying to cache the entire class using Zend_Cache_Frontend_Class. My class instantiation code looks like (yes, $a and $b have to go into the constructor): $_myClass = new myClass($a, $b); After reading ZF manual, I came up with the following code: $frontendOptions = array( 'cached_entity' => new myClass($a, $b) ); $backendOptions = array('cache_dir' => realpath("C:/tmp")); $cache = Zend_Cache::factory('Class', 'File', $frontendOptions, $backendOptions); Now, the problem is, how do I use this $cache to retrieve cached instantiated object? Of course, $cache->__construct($a, $b) fails (it also looks stupid - I already passed $a and $b in). What to do? Any ideas? Thanks, Temuri -- View this message in context: http://www.nabble.com/Zend_Cache-with-%27Class%27-frontend---problem-with-__construct%28%24a%2C-%24b%29-tp18834887p18834887.html Sent from the Zend Framework mailing list archive at Nabble.com.