[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_config/models/ -> application.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 274 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConfigModelApplication:: (5 methods):
  getForm()
  getData()
  save()
  removeroot()
  writeConfigFile()


Class: ConfigModelApplication  - X-Ref


getForm($data = array()   X-Ref
Method to get a form object.

param: array    $data        Data for the form.
param: boolean    $loadData    True if the form is to load its own data (default case), false if not.
return: mixed    A JForm object on success, false on failure

getData()   X-Ref
Method to get the configuration data.

This method will load the global configuration data straight from
JConfig. If configuration data has been saved in the session, that
data will be merged into the original data, overwriting it.

return: array        An array containg all global config data.

save($data)   X-Ref
Method to save the configuration data.

param: array    An array containing all global config data.
return: bool    True on success, false on failure.

removeroot()   X-Ref
Method to unset the root_user value from configuration data.

This method will load the global configuration data straight from
JConfig and remove the root_user value for security, then save the configuration.


writeConfigFile(JRegistry $config)   X-Ref
Method to write the configuration to a file.

param: JRegistry  $config    A JRegistry object containing all global config data.
return: bool       True on success, false on failure.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1