summaryrefslogtreecommitdiff
path: root/poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp
diff options
context:
space:
mode:
Diffstat (limited to 'poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp')
-rw-r--r--poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp39
1 files changed, 39 insertions, 0 deletions
diff --git a/poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp b/poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp
new file mode 100644
index 0000000..573574c
--- /dev/null
+++ b/poc/poc02-compiling-cake/src/vendor/cakephp-2.2.1-0-gcc44130/lib/Cake/Test/test_app/View/Layouts/multi_cache.ctp
@@ -0,0 +1,39 @@
+<?php
+/**
+ *
+ * PHP 5
+ *
+ * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
+ * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
+ * @link http://cakephp.org CakePHP(tm) Project
+ * @package cake.libs.view.templates.layouts
+ * @since CakePHP(tm) v 0.10.0.1076
+ * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
+ */
+?>
+<p>This is regular text</p>
+<!--nocache-->
+ <p>A. Layout Before Content</p>
+ <?php $this->log('1. layout before content') ?>
+<!--/nocache-->
+<!--nocache--><?php echo $this->element('nocache/plain'); ?><!--/nocache-->
+<!--nocache-->
+ <p>C. Layout After Test Element But Before Content</p>
+ <?php $this->log('3. layout after test element but before content') ?>
+<!--/nocache-->
+<?php echo $content_for_layout; ?>
+<!--nocache-->
+ <p>E. Layout After Content</p>
+ <?php $this->log('5. layout after content') ?>
+<!--/nocache-->
+<p>Additional regular text.</p>
+<?php echo $this->element('nocache/contains_nocache'); ?>
+<!--nocache-->
+ <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') ?>
+<!--/nocache-->