From bd27844af4b3d45e79bdc328089f5f92ed5d2f20 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 22 Mar 2006 04:58:53 +0000 Subject: [PATCH] Documentation --- includes/cbt/CBTCompiler.php | 4 ++++ includes/cbt/CBTProcessor.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/cbt/CBTCompiler.php b/includes/cbt/CBTCompiler.php index f883b7ec45..4ef8ee4a95 100644 --- a/includes/cbt/CBTCompiler.php +++ b/includes/cbt/CBTCompiler.php @@ -70,6 +70,10 @@ class CBTCompiler { $this->mText = $text; } + /** + * Compile the text. + * Returns true on success, error message on failure + */ function compile() { $fname = 'CBTProcessor::compile'; $this->mLastError = false; diff --git a/includes/cbt/CBTProcessor.php b/includes/cbt/CBTProcessor.php index 6afae325f3..ced11bb662 100644 --- a/includes/cbt/CBTProcessor.php +++ b/includes/cbt/CBTProcessor.php @@ -144,7 +144,7 @@ class CBTValue { * Template processor, for compilation and execution */ class CBTProcessor { - var $mText, # The text being processed. This is immutable. + var $mText, # The text being processed $mFunctionObj, # The object containing callback functions $mCompiling = false, # True if compiling to a template, false if executing to text $mIgnorableDeps = array(), # Dependency names which should be treated as static -- 2.20.1