All releases tagged Old


Release Notes: An error in the setTemplate() method has been fixed.


Release Notes: This release adds a setTemplate() method to set a default template file name. The methods display() and fetch() honor the setTemplate() value when no template is named. A findTemplate() method has been added to find a template path (useful for in-template include statements). The fetch() method now pops the template off the stack when done.


Release Notes: This release adds multiple-directory path support for plugins, filters, and templates. It correctly adds directory separators to the end of path directories, and adds the current directory to the path when no other path is specified in the constructor.


Release Notes: This release removes all call-time pass-by-reference uses, adds three new plugins (checkbox, input, and textarea), and the colorizeCode filter no longer doubles-up on code tags.


Release Notes: You can now assign a named 'null' token, e.g. assign('varname', null). Also, the $_dir_sep property now defaults to the DIRECTORY_SEPARATOR constant set by PHP.


Release Notes: This release allows you to get back a specific token with getToken() instead of the whole array, and adds a new output filter to colorize text between <code> tags. There is now a mailing list.


Release Notes: This release updates inline comments, and standardizes on the use of Savant::_fileExists() instead of combined PHP file_exists() and is_readable(). Savant::getTokens() now sorts alphabetically by token name before returning.


Release Notes: All assignRef() and assignObject() references now point back to the logic script variable (not the Savant tokens array). The "getSavantVars()" hook when assigning an object by copy using assign() has been removed. The display() and fetch() methods no longer accept substitution tokens (this is due to fixing the references problem noted above). A getTokens() method has been added. The unit tests have been changed to use getTokens() method intead of _tokens property, and unit test 1_assign.php has been changed to check for references being changed from a template.


Release Notes: This release updates unit test files, removes "undefined index" notices, fixes a typo in the _applyFilters() method when calling filters by instance, and fixes a bug where display() would not return a PEAR_Error on failing to find a template file.


Release Notes: This release has minor bugfixes. The state has been upgraded to "beta," and documentation moved out of the package and to the Web site.