2008-09-10 16:48:43 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
*
|
2010-10-03 16:31:21 +00:00
|
|
|
* PHP 5
|
2008-09-10 16:48:43 +00:00
|
|
|
*
|
2009-11-06 06:46:59 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
2012-03-13 02:46:07 +00:00
|
|
|
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2008-09-10 16:48:43 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2012-03-13 02:46:07 +00:00
|
|
|
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2009-11-06 06:00:11 +00:00
|
|
|
* @link http://cakephp.org CakePHP(tm) Project
|
2010-12-24 18:57:20 +00:00
|
|
|
* @package cake.libs.view.templates.layouts
|
2008-10-30 17:30:26 +00:00
|
|
|
* @since CakePHP(tm) v 0.10.0.1076
|
2009-11-06 06:51:51 +00:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
2008-09-10 16:48:43 +00:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<p>This is regular text</p>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<p>A. Layout Before Content</p>
|
|
|
|
<?php $this->log('1. layout before content') ?>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--/nocache-->
|
|
|
|
<!--nocache--><?php echo $this->element('nocache/plain'); ?><!--/nocache-->
|
|
|
|
<!--nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<p>C. Layout After Test Element But Before Content</p>
|
|
|
|
<?php $this->log('3. layout after test element but before content') ?>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--/nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<?php echo $content_for_layout; ?>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<p>E. Layout After Content</p>
|
|
|
|
<?php $this->log('5. layout after content') ?>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--/nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<p>Additional regular text.</p>
|
2011-10-09 02:04:53 +00:00
|
|
|
<?php echo $this->element('nocache/contains_nocache'); ?>
|
2010-11-06 05:18:23 +00:00
|
|
|
<!--nocache-->
|
2008-09-10 16:48:43 +00:00
|
|
|
<p>G. Layout After Content And After Element With No Cache Tags</p>
|
|
|
|
<?php $this->log('7. layout after content and after element with no cache tags') ?>
|
2011-06-23 19:48:06 +00:00
|
|
|
<!--/nocache-->
|