Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe SysinfoModel
+ Graphe d'héritage de SysinfoModel:

Fonctions membres publiques

getPhpSettings ()
 
getConfig ()
 
getInfo ()
 
 phpinfoEnabled ()
 
 getSafeData (string $dataType, bool $public=true)
 
getPHPInfo ()
 
 getPhpInfoArray ()
 
 getExtensions ()
 
 getDirectory (bool $public=false)
 
getEditor ()
 
- Fonctions membres publiques hérités de BaseDatabaseModel
 __construct ($config=array(), MVCFactoryInterface $factory=null)
 
 getTable ($name='', $prefix='', $options=array())
 
 isCheckedOut ($item)
 
 getDbo ()
 
 setDbo (DatabaseInterface $db=null)
 
 __get ($name)
 
- Fonctions membres publiques hérités de BaseModel
 __construct ($config=array())
 
 getName ()
 
- Fonctions membres publiques hérités de CMSObject
 __construct ($properties=null)
 
 __toString ()
 
 def ($property, $default=null)
 
 get ($property, $default=null)
 
 getProperties ($public=true)
 
 getError ($i=null, $toString=true)
 
 getErrors ()
 
 set ($property, $value=null)
 
 setProperties ($properties)
 
 setError ($error)
 
- Fonctions membres publiques hérités de StatefulModelInterface
 getState ($property=null, $default=null)
 
 setState ($property, $value=null)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 
- Fonctions membres publiques hérités de CurrentUserInterface
 setCurrentUser (User $currentUser)
 
- Fonctions membres publiques hérités de CacheControllerFactoryAwareInterface
 setCacheControllerFactory (CacheControllerFactoryInterface $factory)
 
- Fonctions membres publiques hérités de DatabaseAwareInterface
 setDatabase (DatabaseInterface $db)
 

Fonctions membres protégées

 cleanPrivateData (array $dataArray, string $dataType='other')
 
 cleanSectionPrivateData ($sectionValues)
 
 parsePhpInfo (string $html)
 
- Fonctions membres protégées hérités de BaseDatabaseModel
 _getList ($query, $limitstart=0, $limit=0)
 
 _getListCount ($query)
 
 _createTable ($name, $prefix='Table', $config=array())
 
 bootComponent ($component)
 
 dispatchEvent (EventInterface $event)
 

Attributs protégés

 $php_settings = []
 
 $config = []
 
 $info = []
 
 $php_info = null
 
 $phpInfoArray
 
 $privateSettings
 
 $safeData
 
 $directories = []
 
 $editor = null
 
- Attributs protégés hérités de BaseDatabaseModel
 $option = null
 
 $event_clean_cache = null
 
- Attributs protégés hérités de BaseModel
 $name
 
- Attributs protégés hérités de CMSObject
 $_errors = array()
 

Fonctions membres privées

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

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de BaseModel
static addIncludePath ($path='', $prefix='')
 
- Attributs protégés statiques hérités de BaseModel
static $paths
 

Description détaillée

Model for the display of system information.

Depuis
1.6

Documentation des fonctions membres

◆ addDirectory()

addDirectory ( string  $name,
string  $path,
string  $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 ( array  $dataArray,
string  $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
string|array
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, et $key.

◆ getDirectory()

getDirectory ( bool  $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
Exceptions

Références $cparams, $folder, Factory\getApplication(), ComponentHelper\getParams(), 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, et Factory\getApplication().

◆ getExtensions()

getExtensions ( )

Method to get a list of installed extensions

Renvoie
array installed extensions
Depuis
3.5

Références $db, $extension, $manifest, $query, Text\_(), Log\add(), Factory\getApplication(), Factory\getContainer(), Text\sprintf(), et Log\WARNING.

◆ getInfo()

& getInfo ( )

Method to get the system information

Renvoie
array System information values
Depuis
1.6

Références $db, $info, et Joomla\Database\getDatabase().

◆ getPHPInfo()

& getPHPInfo ( )

Method to get the PHP info

Renvoie
string PHP info
Depuis
1.6

Références $output, et Text\_().

◆ 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 ( string  $dataType,
bool  $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, $methodName, et $this.

◆ parsePhpInfo()

parsePhpInfo ( string  $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, $val, 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 = []
protected

◆ $directories

$directories = []
protected

◆ $editor

$editor = null
protected

◆ $info

$info = []
protected

◆ $php_info

$php_info = null
protected

◆ $php_settings

$php_settings = []
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 :