Documentation
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 22 Mar 2006 04:58:53 +0000 (04:58 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 22 Mar 2006 04:58:53 +0000 (04:58 +0000)
includes/cbt/CBTCompiler.php
includes/cbt/CBTProcessor.php

index f883b7e..4ef8ee4 100644 (file)
@@ -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;
index 6afae32..ced11bb 100644 (file)
@@ -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