Difference between revisions of "Version 1.6 Developer Notes"

From Joomla! Documentation

Line 9: Line 9:
* Added ACL tables (todo - list them)
* Added ACL tables (todo - list them)
* Removed jos_groups table
* Removed jos_groups table
* Removed jos_plugins table in favour of jos_extensions
* Removed [[|jos_plugins]] table in favour of [[|jos_extensions]]
* Added update tables
* Added update tables
** jos_updates
** jos_updates

Revision as of 08:51, 23 October 2008

Replacement filing cabinet.png
This page has been archived - Please Do Not Edit or Create Pages placed in this namespace. The pages in the Archived namespace exist only as a historical reference, it will not be improved and its content may be incomplete.
Quill icon.png
Content is Incomplete

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 has not been edited in several days, please consider helping complete the content.
This article was last edited by Pasamio (talk| contribs) 7 years ago. (Purge)

Compilation of developer notes on changes in 1.6.


  • Added ACL tables (todo - list them)
  • Removed jos_groups table
  • Removed [[1]] table in favour of [[2]]
  • Added update tables
    • jos_updates
    • jos_update_sites
    • jos_update_sites_extensions
    • jos_update_categories
  • Added backup tables
    • jos_backups ?? @TODO
  • Added tasks tables
    • jos_tasks
    • jos_taak_sets



Remove JAuthorization::_mos_add_acl.

Added 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.


Added JTableTree as an abstract class for tree-based tables.

Made JObject abstract. It can no longer be directly instantiated. Use JStdClass instead.


Join for access level


LEFT JOIN #__groups AS g ON = c.access


LEFT JOIN #__core_acl_axo_groups AS g ON g.value = a.access


Legacy Mode

Only available in legacy mode (to be dropped in future versions):

  • global $mainframe - Use $app = &JFactory::getApplication() instead.
  • JTemplate (patTemplate completely deprecated)

Files/Features Dropped


Don't forget to do this:

  • Access Level links in backend lists need to be refactored to support the new levels available in the jos_core_acl_axo_groups table.