summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-05-01 21:39:08 +0200
committerandi <andi@splitbrain.org>2005-05-01 21:39:08 +0200
commit9dc2c2af726890564ad8e83ab451fe55af98deef (patch)
tree48fb87513d96d21a6e4e3c222205a614632acf30 /inc/parser/handler.php
parent5e100747059d6148199a91dfae13217e89dd4344 (diff)
downloadrpg-9dc2c2af726890564ad8e83ab451fe55af98deef.tar.gz
rpg-9dc2c2af726890564ad8e83ab451fe55af98deef.tar.bz2
~~NOCACHE~~ added
darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 91d884345..ce0fb5d4c 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -12,6 +12,7 @@ class Doku_Handler {
var $meta = array(
'section' => FALSE,
'toc' => TRUE,
+ 'cache' => TRUE,
);
var $rewriteBlocks = TRUE;
@@ -97,6 +98,11 @@ class Doku_Handler {
$this->meta['toc'] = FALSE;
return TRUE;
}
+
+ function nocache($match, $state, $pos) {
+ $this->_addCall('nocache',array(),$pos);
+ return TRUE;
+ }
function linebreak($match, $state, $pos) {
$this->_addCall('linebreak',array(),$pos);