* Template.php:
(BSTemplate::__toString): Implemented to call evaluate()->getTemplate()
* version.php: Bumping the version number
+3.2.2
+===================
+- New: Added BSTemplate::__toString() to evaluate the template
+
3.2.1
===================
- New: BSFunctions::bool_to_string() to convert a boolean value into human-readable Yes/No
}
}
+ /**
+ * Evaluates and returns the template. This is equivalent to calling:
+ * $tpl->evaluate()->getTemplate()
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ return $this->evaluate()->getTemplate();
+ }
+
/**
* Returns the template data
*
/**
* ISSO version
*/
-define('ISSO_VERSION', '3.2.1');
+define('ISSO_VERSION', '3.2.2');
?>
\ No newline at end of file