diff cake/tests/test_app/views/elements/nocache/sub1.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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cake/tests/test_app/views/elements/nocache/sub1.ctp	Sun Jul 24 21:08:31 2011 +0900
@@ -0,0 +1,8 @@
+<?php echo $this->element('nocache/sub2'); ?>
+
+<cake:nocache>
+	<?php $foobar = 'in sub1'; ?>
+	<?php echo $foobar; ?>
+</cake:nocache>
+
+<?php echo 'printing: "' . $foobar . '"'; ?>
\ No newline at end of file