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

Fonctions membres publiques

 getForm ($data=array(), $loadData=true)
 
 getItem ($pk=null)
 
 save ($data, $oppositeClient=false)
 

Fonctions membres protégées

 loadFormData ()
 
 populateState ()
 

Description détaillée

Languages Override Model

Depuis
2.5

Documentation des fonctions membres

◆ getForm()

getForm (   $data = array(),
  $loadData = true 
)

Method to get the record form.

Paramètres
array$dataData for the form.
boolean$loadDataTrue if the form is to load its own data (default case), false if not.
Renvoie
mixed A JForm object on success, false on failure.
Depuis
2.5

Références $client, $form, $language, et null.

◆ getItem()

getItem (   $pk = null)

Method to get a single record.

Paramètres
string$pkThe key name.
Renvoie
mixed Object on success, false otherwise.
Depuis
2.5

Références $input, $oppositeFileName, et $oppositeStrings.

◆ loadFormData()

loadFormData ( )
protected

Method to get the data that should be injected in the form.

Renvoie
mixed The data for the form.
Depuis
2.5

Références $data.

◆ populateState()

populateState ( )
protected

Method to auto-populate the model state.

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

Renvoie
void
Depuis
2.5

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

◆ save()

save (   $data,
  $oppositeClient = false 
)

Method to save the form data.

Paramètres
array$dataThe form data.
boolean$oppositeClientIndicates whether the override should not be created for the current client.
Renvoie
boolean True on success, false otherwise.
Depuis
2.5

Références $app, $client, $data, $language, $oppositeClient, et jimport().


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