Class InstallationModelSetup

Description

Setup model for the Joomla Core Installer.

  • since: 3.1

Located in /installation/model/setup.php (line 19)

JModelBase
   |
   --InstallationModelSetup
Method Summary
 array checkForm ([string $page = 'site'])
 mixed getForm ([string $view = null])
 boolean getLanguages ()
 array getOptions ()
 array getPhpOptions ()
 array getPhpSettings ()
 array storeOptions (array $options)
 mixed validate (array $data, [string $view = null])
Variables

Inherited Variables

Inherited from JModelBase

JModelBase::$state
Methods
checkForm (line 119)

Method to check the form data

  • return: Validated form data
  • since: 3.1
  • access: public
array checkForm ([string $page = 'site'])
  • string $page: The view being checked
getForm (line 73)

Method to get the form.

  • return: JForm object on success, false on failure.
  • since: 3.1
  • access: public
mixed getForm ([string $view = null])
  • string $view: The view being processed
getIniParserAvailability (line 198)

Checks the availability of the parse_ini_file and parse_ini_string functions.

  • return: True if the method exists
  • since: 3.1
  • access: public
boolean getIniParserAvailability ()
getLanguages (line 159)

Generate a panel of language choices for the user to select their language

  • return: True if successful
  • since: 3.1
  • access: public
boolean getLanguages ()
getOptions (line 28)

Get the current setup options from the session.

  • return: An array of options from the session
  • since: 3.1
  • access: public
array getOptions ()
getPhpOptions (line 231)

Gets PHP options.

  • return: Array of PHP config options
  • since: 3.1
  • access: public
array getPhpOptions ()
getPhpOptionsSufficient (line 332)

Checks if all of the mandatory PHP options are met

  • return: True on success
  • since: 3.1
  • access: public
boolean getPhpOptionsSufficient ()
getPhpSettings (line 355)

Gets PHP Settings.

  • since: 3.1
  • access: public
array getPhpSettings ()
storeOptions (line 45)

Store the current setup options in the session.

  • return: An array of options from the session
  • since: 3.1
  • access: public
array storeOptions (array $options)
  • array $options: The installation options
validate (line 421)

Method to validate the form data.

  • return: Array of filtered data if valid, false otherwise.
  • since: 3.1
  • access: public
mixed validate (array $data, [string $view = null])
  • array $data: The form data.
  • string $view: The view.

Inherited Methods

Inherited From JModelBase

 JModelBase::__construct()
 JModelBase::getState()
 JModelBase::loadState()
 JModelBase::setState()

Documentation generated on Tue, 19 Nov 2013 15:12:58 +0100 by phpDocumentor 1.4.3