Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing CacheHelper and multiple cake:nocache tags in a view file, bre…
…aking cake:nocache following $content_for_layout. Fixes #136
- Loading branch information
Showing
3 changed files
with
58 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--view start-- | ||
<cake:nocache> | ||
<?php echo $batman ?> | ||
</cake:nocache> | ||
|
||
this view has 3 nocache blocks | ||
|
||
<cake:nocache> | ||
<?php echo $spiderman; ?> | ||
</cake:nocache> | ||
|
||
<cake:nocache> | ||
<?php echo 'some string'; ?> | ||
</cake:nocache> | ||
--view end-- |