From: Tim Starling Date: Wed, 22 Mar 2006 04:58:53 +0000 (+0000) Subject: Documentation X-Git-Tag: 1.6.0~171 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=bd27844af4b3d45e79bdc328089f5f92ed5d2f20;p=lhc%2Fweb%2Fwiklou.git Documentation --- 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