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

Fonctions membres publiques

 getCurrentLanguage ($detectBrowser=true)
 
 getLanguageId ($langCode)
 
 getRowData (TableInterface $table)
 
 getDataObject (TableInterface $table)
 

Description détaillée

Base Helper class.

Depuis
3.2

Documentation des fonctions membres

◆ getCurrentLanguage()

getCurrentLanguage (   $detectBrowser = true)

Gets the current language

Paramètres
boolean$detectBrowserFlag indicating whether to use the browser language as a fallback.
Renvoie
string The language string
Depuis
3.2

Références $app, LanguageHelper\detectLanguage(), Factory\getApplication(), ApplicationHelper\getHash(), ComponentHelper\getParams(), PluginHelper\getPlugin(), Factory\getSession(), Multilanguage\isEnabled(), et null.

◆ getDataObject()

getDataObject ( TableInterface  $table)

Method to get an object containing all of the table columns and values.

Paramètres
TableInterface$tableTable object.
Renvoie
Contains all of the columns and values.
Depuis
3.2

Références $field, et $fields.

◆ getLanguageId()

getLanguageId (   $langCode)

Gets the associated language ID

Paramètres
string$langCodeThe language code to look up
Renvoie
integer The language ID
Depuis
3.2

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

◆ getRowData()

getRowData ( TableInterface  $table)

Gets a row of data from a table

Paramètres
TableInterface$tableTable instance for a row.
Renvoie
array Associative array of all columns and values for a row in a table.
Depuis
3.2

Références $data, $field, $fields, et $value.


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