Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ZendFramework] Zend_Cache + Zend_Layout + Menu uzytkownika
Eagle
post
Post #1





Grupa: Zarejestrowani
Postów: 170
Pomógł: 14
Dołączył: 16.03.2007

Ostrzeżenie: (0%)
-----


Witam

Ma ktoś jakiś pomysł/sposób aby nie keszować danego elementu strony (w moim wypadku jest, to menu)?

Pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Eagle
post
Post #2





Grupa: Zarejestrowani
Postów: 170
Pomógł: 14
Dołączył: 16.03.2007

Ostrzeżenie: (0%)
-----


Znalazłem! (IMG:style_emoticons/default/smile.gif)
Przez przypadek ale znalazłem (IMG:style_emoticons/default/smile.gif)

Dla potomnych:

Plugin: (link podany wyżej)
  1. if (false !== ($response = $this->_getCache()))
  2. {
  3. $response->insert('test','cache cache cache!');
  4. $response->sendResponse();
  5. }


Layout:
  1. <?php
  2. // [...]
  3. echo $this->layout()->test;
  4. // [...]
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.10.2025 - 02:02