Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe LibraryHelper

Fonctions membres publiques statiques

static getLibrary ($element, $strict=false)
 
static isEnabled ($element)
 
static getParams ($element, $strict=false)
 
static saveParams ($element, $params)
 

Attributs protégés statiques

static $libraries = array()
 

Description détaillée

Library helper class

Depuis
3.2

Documentation des fonctions membres

◆ getLibrary()

static getLibrary (   $element,
  $strict = false 
)
static

Get the library information.

Paramètres
string$elementElement of the library in the extensions table.
boolean$strictIf set and the library does not exist, the enabled attribute will be set to false.
Renvoie
An object with the library's information.
Depuis
3.2

Références $result, et false.

◆ getParams()

static getParams (   $element,
  $strict = false 
)
static

Gets the parameter object for the library

Paramètres
string$elementElement of the library in the extensions table.
boolean$strictIf set and the library does not exist, false will be returned
Renvoie
Registry A Registry object.
Voir également
Registry
Depuis
3.2

◆ isEnabled()

static isEnabled (   $element)
static

Checks if a library is enabled

Paramètres
string$elementElement of the library in the extensions table.
Renvoie
boolean
Depuis
3.2

◆ saveParams()

static saveParams (   $element,
  $params 
)
static

Save the parameters object for the library

Paramètres
string$elementElement of the library in the extensions table.
Registry$paramsParams to save
Renvoie
Registry|boolean A Registry object.
Voir également
Registry
Depuis
3.2

Références $db, $params, $query, $result, et Factory\getDbo().

Documentation des champs

◆ $libraries

$libraries = array()
staticprotected

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