[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/installation/src/Model/ -> SetupModel.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: 319 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SetupModel:: (7 methods):
  getOptions()
  storeOptions()
  getForm()
  checkForm()
  getLanguages()
  validate()
  validateDbConnection()


Class: SetupModel  - X-Ref

Setup model for the Joomla Core Installer.

getOptions()   X-Ref
Get the current setup options from the session.

return: array  An array of options from the session.

storeOptions($options)   X-Ref
Store the current setup options in the session.

param: array  $options  The installation options.
return: array  An array of options from the session.

getForm($view = null)   X-Ref
Method to get the form.

param: string|null  $view  The view being processed.
return: Form|boolean  JForm object on success, false on failure.

checkForm($page = 'setup')   X-Ref
Method to check the form data.

param: string  $page  The view being checked.
return: array|boolean  Array with the validated form data or boolean false on a validation failure.

getLanguages()   X-Ref
Generate a panel of language choices for the user to select their language.

return: array

validate($data, $view = null)   X-Ref
Method to validate the form data.

param: array        $data  The form data.
param: string|null  $view  The view.
return: array|boolean  Array of filtered data if valid, false otherwise.

validateDbConnection()   X-Ref
Method to validate the db connection properties.

return: boolean



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