[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/installation/src/Model/ -> ConfigurationModel.php (summary)

(no description)

Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 613 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConfigurationModel:: (9 methods):
  setup()
  getUserId()
  generateRandUserId()
  resetRandUserId()
  updateUserIds()
  checkTestingSampledata()
  createConfiguration()
  createRootUser()
  deleteConfiguration()


Class: ConfigurationModel  - X-Ref

Configuration setup model for the Joomla Core Installer.

setup($options)   X-Ref
Method to setup the configuration file

param: array  $options  The session options
return: boolean  True on success

getUserId()   X-Ref
Retrieves the default user ID and sets it if necessary.

return: integer  The user ID.

generateRandUserId()   X-Ref
Generates the user ID.

return: integer  The user ID.

resetRandUserId()   X-Ref
Resets the user ID.

return: void

updateUserIds($db)   X-Ref
Method to update the user id of sql data content to the new rand user id.

param: DatabaseDriver  $db  Database connector object $db*.
return: void

checkTestingSampledata($db)   X-Ref
Method to check for the testing sampledata plugin.

param: DatabaseDriver  $db  Database connector object $db*.
return: void

createConfiguration($options)   X-Ref
Method to create the configuration file

param: \stdClass  $options  The session options
return: boolean  True on success

createRootUser($options, $db)   X-Ref
Method to create the root user for the site.

param: object          $options  The session options.
param: DatabaseDriver  $db       Database connector object $db*.
return: boolean  True on success.

deleteConfiguration()   X-Ref
Method to erase the configuration file.

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer