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 AdminModelSysInfo
+ Graphe d'héritage de AdminModelSysInfo:

Fonctions membres publiques

getPhpSettings ()
 
getConfig ()
 
getInfo ()
 
 phpinfoEnabled ()
 
 getSafeData ($dataType, $public=true)
 
getPHPInfo ()
 
 getPhpInfoArray ()
 
 getExtensions ()
 
 getDirectory ($public=false)
 
getEditor ()
 

Fonctions membres protégées

 cleanPrivateData ($dataArray, $dataType='other')
 
 cleanSectionPrivateData ($sectionValues)
 
 parsePhpInfo ($html)
 

Attributs protégés

 $php_settings = array()
 
 $config = array()
 
 $info = array()
 
 $php_info = null
 
 $phpInfoArray
 
 $privateSettings
 
 $safeData
 
 $directories = array()
 
 $editor = null
 

Fonctions membres privées

 addDirectory ($name, $path, $message='')
 

Description détaillée

Model for the display of system information.

Depuis
1.6

Documentation des fonctions membres

◆ addDirectory()

addDirectory (   $name,
  $path,
  $message = '' 
)
private

Method to add a directory

Paramètres
string$nameDirectory Name
string$pathDirectory path
string$messageMessage
Renvoie
void
Depuis
1.6

Références $message, $name, et $path.

◆ cleanPrivateData()

cleanPrivateData (   $dataArray,
  $dataType = 'other' 
)
protected

Remove sections of data marked as private in the privateSettings

Paramètres
array$dataArrayArray with data that may contain private information
string$dataTypeType of data to search for a specific section in the privateSettings array
Renvoie
array
Depuis
3.5

Références $section.

◆ cleanSectionPrivateData()

cleanSectionPrivateData (   $sectionValues)
protected

Obfuscate section values

Paramètres
mixed$sectionValuesSection data
Renvoie
mixed
Depuis
3.5

Références $value, et JPATH_ROOT.

◆ getConfig()

& getConfig ( )

Method to get the config

Renvoie
array config values
Depuis
1.6

Références $config, $hidden, et $key.

◆ getDirectory()

getDirectory (   $public = false)

Method to get the directory states

Paramètres
bool$publicIf true no information is going to be removed
Renvoie
array States of directories
Depuis
1.6

Références $cparams, $folder, JPATH_ADMINISTRATOR, JPATH_CACHE, JPATH_CONFIGURATION, JPATH_LIBRARIES, JPATH_PLUGINS, JPATH_ROOT, JPATH_SITE, et JPATH_THEMES.

◆ getEditor()

& getEditor ( )

Method to get the editor

Renvoie
string The default editor
Note
Has to be removed (it is present in the config...)
Depuis
1.6

Références $editor.

◆ getExtensions()

getExtensions ( )

Method to get a list of installed extensions

Renvoie
array installed extensions
Depuis
3.5

Références $db, $extension, $manifest, et $query.

◆ getInfo()

& getInfo ( )

Method to get the system information

Renvoie
array System information values
Depuis
1.6

Références $db, $info, et $version.

◆ getPHPInfo()

& getPHPInfo ( )

Method to get the PHP info

Renvoie
string PHP info
Depuis
1.6

Références $output.

◆ getPhpInfoArray()

getPhpInfoArray ( )

Get phpinfo() output as array

Renvoie
array
Depuis
3.5

Références null.

◆ getPhpSettings()

& getPhpSettings ( )

Method to get the PHP settings

Renvoie
array Some PHP settings
Depuis
1.6

◆ getSafeData()

getSafeData (   $dataType,
  $public = true 
)

Method to get filter data from the model

Paramètres
string$dataTypeType of data to get safely
bool$publicIf true no sensitive information will be removed
Renvoie
array
Depuis
3.5

Références $data.

◆ parsePhpInfo()

parsePhpInfo (   $html)
protected

Parse phpinfo output into an array Source https://gist.github.com/sbmzhcn/6255314

Paramètres
string$htmlOutput of phpinfo()
Renvoie
array
Depuis
3.5

Références $count, $html, $i, $name, $r, et elseif.

◆ phpinfoEnabled()

phpinfoEnabled ( )

Check if the phpinfo function is enabled

Renvoie
boolean True if enabled
Depuis
3.4.1

Documentation des champs

◆ $config

$config = array()
protected

◆ $directories

$directories = array()
protected

◆ $editor

$editor = null
protected

◆ $info

$info = array()
protected

◆ $php_info

$php_info = null
protected

◆ $php_settings

$php_settings = array()
protected

◆ $phpInfoArray

$phpInfoArray
protected

◆ $privateSettings

$privateSettings
protected

◆ $safeData

$safeData
protected

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