Version 1.6 Developer Notes
From Joomla! Documentation
Revision as of 05:55, 23 August 2008 by Masterchief
This article or section is incomplete, which means it may be lacking information. You are welcome to assist in its completion by editing it as well. If this article or section
Compilation of developer notes on changes in 1.6.
JDatabase::setQuery casts the sql variable to a string. This allows you to pass an object that implements the __toString magic method.
JModel::getState will now take an optional second argument to set the default. $value = $model->getState( 'foo', 'bar' );