$this->mText = $text;
}
+ /**
+ * Compile the text.
+ * Returns true on success, error message on failure
+ */
function compile() {
$fname = 'CBTProcessor::compile';
$this->mLastError = false;
* 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