Version 1.6 Developer Notes

From Joomla! Documentation
Revision as of 21:56, 10 September 2008 by Pasamio (Talk | contribs)

Jump to: navigation, search
Note

Please note that the content on this page is currently incomplete. Please treat it as a work in progress.

This article was last edited by Pasamio (talk| contribs) 4 years ago. (Purge)

Contents

Compilation of developer notes on changes in 1.6.

Framework

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' );

JFile::write uses a reference for its second argument. Code like JFile::write($filename,'string'); will fail, however $data = 'string'; JFile::write($filename, $data); will work for both 1.5 and 1.6

Components

Administrator:Users

Legacy Mode

Files/Features Dropped

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox