Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe InstallationModelSetup
+ Graphe d'héritage de InstallationModelSetup:

Fonctions membres publiques

 getOptions ()
 
 storeOptions ($options)
 
 getForm ($view=null)
 
 checkForm ($page='site')
 
 getLanguages ()
 
 getIniParserAvailability ()
 
 getPhpOptions ()
 
 getPhpOptionsSufficient ()
 
 getPhpSettings ()
 
 validate ($data, $view=null)
 
- Fonctions membres publiques hérités de JModelBase
 __construct (Registry $state=null)
 
 getState ()
 
 setState (Registry $state)
 

Membres hérités additionnels

- Fonctions membres protégées hérités de JModelBase
 loadState ()
 
- Attributs protégés hérités de JModelBase
 $state
 

Description détaillée

Setup model for the Joomla Core Installer.

Depuis
3.1

Documentation des fonctions membres

◆ checkForm()

checkForm (   $page = 'site')

Method to check the form data.

Paramètres
string$pageThe view being checked.
Renvoie
array Validated form data.
Depuis
3.1

Références $data, $form, $r, $return, et validate().

Référencé par InstallationControllerDatabase\execute().

◆ getForm()

getForm (   $view = null)

Method to get the form.

Paramètres
string$viewThe view being processed.
Renvoie
JForm|boolean JForm object on success, false on failure.
Depuis
3.1

Références $data, $form, et $view.

◆ getIniParserAvailability()

getIniParserAvailability ( )

Checks the availability of the parse_ini_file and parse_ini_string functions.

Renvoie
boolean True if the method exists.
Depuis
3.1

Références $i.

◆ getLanguages()

getLanguages ( )

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

Renvoie
boolean True if successful.
Depuis
3.1

Références $list.

◆ getOptions()

getOptions ( )

Get the current setup options from the session.

Renvoie
array An array of options from the session.
Depuis
3.1

◆ getPhpOptions()

getPhpOptions ( )

Gets PHP options.

Renvoie
array Array of PHP config options
Depuis
3.1

Références $option, $options, JDatabaseDriver\getConnectors(), JOOMLA_MINIMUM_PHP, JPATH_CONFIGURATION, JPATH_ROOT, et null.

◆ getPhpOptionsSufficient()

getPhpOptionsSufficient ( )

Checks if all of the mandatory PHP options are met.

Renvoie
boolean True on success.
Depuis
3.1

Références $option, $options, et null.

◆ getPhpSettings()

getPhpSettings ( )

Gets PHP Settings.

Renvoie
array
Depuis
3.1

◆ storeOptions()

storeOptions (   $options)

Store the current setup options in the session.

Paramètres
array$optionsThe installation options.
Renvoie
array An array of options from the session.
Depuis
3.1

Références $options, et null.

◆ validate()

validate (   $data,
  $view = null 
)

Method to validate the form data.

Paramètres
array$dataThe form data.
string$viewThe view.
Renvoie
array|boolean Array of filtered data if valid, false otherwise.
Depuis
3.1

Références $data, $form, $message, $messages, $return, et $view.


La documentation de cette classe a été générée à partir du fichier suivant :