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

Fonctions membres publiques

 __construct ($config=array())
 
 getOverrides ($all=false)
 
 getTotal ()
 
 delete ($cids)
 
 purge ()
 

Fonctions membres protégées

 populateState ($ordering='key', $direction='asc')
 

Description détaillée

Languages Overrides Model

Depuis
2.5

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $config = array())

Constructor.

Paramètres
array$configAn optional associative array of configuration settings.
Depuis
2.5

Références $config.

Documentation des fonctions membres

◆ delete()

delete (   $cids)

Method to delete one or more overrides.

Paramètres
array$cidsArray of keys to delete.
Renvoie
integer Number of successfully deleted overrides, boolean false if an error occurred.
Depuis
2.5

Références $client, $key, et jimport().

◆ getOverrides()

getOverrides (   $all = false)

Retrieves the overrides data

Paramètres
boolean$allTrue if all overrides shall be returned without considering pagination, defaults to false
Renvoie
array Array of objects containing the overrides of the override.ini file
Depuis
2.5

Références $client.

◆ getTotal()

getTotal ( )

Method to get the total number of overrides.

Renvoie
integer The total number of overrides.
Depuis
2.5

◆ populateState()

populateState (   $ordering = 'key',
  $direction = 'asc' 
)
protected

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

Paramètres
string$orderingAn optional ordering field.
string$directionAn optional direction (asc|desc).
Renvoie
void
Depuis
2.5

Références $app, $client, $direction, $language, et $ordering.

◆ purge()

purge ( )

Removes all of the cached strings from the table.

Renvoie
boolean result of operation
Depuis
3.4.2

Références $db.


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