Mercurial > hg > Members > shoshi > webvirt
comparison cake/tests/test_app/views/layouts/multi_cache.ctp @ 0:261e66bd5a0c
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jul 2011 21:08:31 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:261e66bd5a0c |
---|---|
1 <?php | |
2 /** | |
3 * | |
4 * PHP versions 4 and 5 | |
5 * | |
6 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
7 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) | |
8 * | |
9 * Licensed under The MIT License | |
10 * Redistributions of files must retain the above copyright notice. | |
11 * | |
12 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) | |
13 * @link http://cakephp.org CakePHP(tm) Project | |
14 * @package cake | |
15 * @subpackage cake.cake.libs.view.templates.layouts | |
16 * @since CakePHP(tm) v 0.10.0.1076 | |
17 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
18 */ | |
19 ?> | |
20 <p>This is regular text</p> | |
21 <cake:nocache> | |
22 <p>A. Layout Before Content</p> | |
23 <?php $this->log('1. layout before content') ?> | |
24 </cake:nocache> | |
25 <cake:nocache><?php echo $this->element('nocache/plain'); ?></cake:nocache> | |
26 <cake:nocache> | |
27 <p>C. Layout After Test Element But Before Content</p> | |
28 <?php $this->log('3. layout after test element but before content') ?> | |
29 </cake:nocache> | |
30 <?php echo $content_for_layout; ?> | |
31 <cake:nocache> | |
32 <p>E. Layout After Content</p> | |
33 <?php $this->log('5. layout after content') ?> | |
34 </cake:nocache> | |
35 <p>Additional regular text.</p> | |
36 <?php //echo $this->element('nocache/contains_nocache'); stub?> | |
37 <cake:nocache> | |
38 <p>G. Layout After Content And After Element With No Cache Tags</p> | |
39 <?php $this->log('7. layout after content and after element with no cache tags') ?> | |
40 </cake:nocache> |