Version 1.6 Developer Notes
From Joomla! Documentation
This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
|This article was once a stub and incomplete. It is now archived, PLEASE do not edit it! It references unsupported versions.|
Compilation of developer notes on changes in 1.6.
- Added ACL tables (todo - list them)
- Removed jos_groups table
- Removed jos_plugins table in favour of jos_extensions
- Added update tables
JAuthorization::getUserAccessLevels( $section [, $action = 'view'] ).
JDatabase::setQuery casts the sql variable to a string. This allows you to pass an object that implements the __toString magic method.
Both JFile::write and JFTP::write now use 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
JModel::getState will now take an optional second argument to set the default. $value = $model->getState( 'foo', 'bar' );
JModel has an addition contruction option and internal variable
__state_set. This is used to lazy-load model initialisation.
JTableTree as an abstract class for tree-based tables.
Made JObject abstract. It can no longer be directly instantiated. Use JStdClass instead.
JDocumentXML to allow easy generation of valid XML files.
Changes to XML-RPC support
On april the 9th. Louis Landry explained his intended changes to the way Joomla will handle XML-RPC in version 1.6. You can view his detailed explanation here.
Join for access level
LEFT JOIN #__groups AS g ON g.id = c.access
LEFT JOIN #__core_acl_axo_groups AS g ON g.value = a.access
Only available in legacy mode (to be dropped in future versions):
global $mainframe- Use
$app = &JFactory::getApplication()instead.
- JTemplate (patTemplate completely deprecated)
- Multiple client language install packs (e.g. where site and administrator language files are in the same installation file), use packages with two language install packages
- Support for constants as language strings with JLanguage
- Polls component
Mapping of positions in Milky Way 1.5 to new positions.
Please use Version_1.6._Migration_Notes to track migration issues that are not schema changes.