Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence de la classe Language
+ Graphe d'héritage de Language:

Fonctions membres publiques

 __construct ($db)
 
 check ()
 
 store ($updateNulls=false)
 
- Fonctions membres publiques hérités de Table
 __construct ($table, $key, $db)
 
 attachObserver (\JObserverInterface $observer)
 
 getObserverOfClass ($observerClass)
 
 getFields ($reload=false)
 
 appendPrimaryKeys ($query, $pk=null)
 
 getTableName ()
 
 getKeyName ($multiple=false)
 
 getDbo ()
 
 setDbo ($db)
 
 setRules ($input)
 
 getRules ()
 
 reset ()
 
 bind ($src, $ignore=array())
 
 load ($keys=null, $reset=true)
 
 check ()
 
 save ($src, $orderingFilter='', $ignore='')
 
 checkOut ($userId, $pk=null)
 
 checkIn ($pk=null)
 
 hasPrimaryKey ()
 
 hit ($pk=null)
 
 isCheckedOut ($with=0, $against=null)
 
 getNextOrder ($where='')
 
 getPrimaryKey (array $keys=array())
 
 reorder ($where='')
 
 move ($delta, $where='')
 
 publish ($pks=null, $state=1, $userId=0)
 
 getColumnAlias ($column)
 
 setColumnAlias ($column, $columnAlias)
 
 hasField ($key)
 
- Fonctions membres publiques hérités de JObservableInterface
 attachObserver (JObserverInterface $observer)
 

Fonctions membres protégées

 _getAssetName ()
 
 _getAssetTitle ()
 
 _getAssetParentId (Table $table=null, $id=null)
 
- Fonctions membres protégées hérités de Table
 _getAssetName ()
 
 _getAssetTitle ()
 
 _lock ()
 
 _unlock ()
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de Table
static getInstance ($type, $prefix='JTable', $config=array())
 
static addIncludePath ($path=null)
 
- Attributs protégés hérités de Table
 $_tbl = ''
 
 $_tbl_key = ''
 
 $_tbl_keys = array()
 
 $_db
 
 $_trackAssets = false
 
 $_rules
 
 $_locked = false
 
 $_autoincrement = true
 
 $_observers
 
 $_columnAlias = array()
 
 $_jsonEncode = array()
 

Description détaillée

Languages table.

Depuis
1.7.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $db)

Constructor

Paramètres
\JDatabaseDriver$dbDatabase driver object.
Depuis
1.7.0

Références $db.

Documentation des fonctions membres

◆ _getAssetName()

_getAssetName ( )
protected

Method to compute the default name of the asset. The default name is in the form table_name.id where id is the value of the primary key of the table.

Renvoie
string
Depuis
3.8.0

◆ _getAssetParentId()

_getAssetParentId ( Table  $table = null,
  $id = null 
)
protected

Method to get the parent asset under which to register this one. By default, all assets are registered to the ROOT node with ID, which will default to 1 if none exists. The extended class can define a table and id to lookup. If the asset does not exist it will be created.

Paramètres
Table$tableA Table object for the asset parent.
integer$idId to look up
Renvoie
integer
Depuis
3.8.0

Références $asset, $assetId, $id, Table\getInstance(), et null.

◆ _getAssetTitle()

_getAssetTitle ( )
protected

Method to return the title to use for the asset table.

Renvoie
string
Depuis
3.8.0

Références $title.

◆ check()

check ( )

Overloaded check method to ensure data integrity

Renvoie
boolean True on success
Depuis
1.7.0

Références title.

◆ store()

store (   $updateNulls = false)

Overrides Table::store to check unique fields.

Paramètres
boolean$updateNullsTrue to update fields even if they are null.
Renvoie
boolean True on success.
Depuis
2.5.0

Références Table\getInstance().


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