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

Fonctions membres publiques

 fix ()
 
 getItems ()
 
 getPagination ()
 
 getSchemaVersion ()
 
 fixSchemaVersion ($changeSet)
 
 getUpdateVersion ()
 
 fixUpdateVersion ()
 
 getDefaultTextFilters ()
 
 fixDefaultTextFilters ()
 
- Fonctions membres publiques hérités de InstallerModel
 __construct ($config=array())
 

Fonctions membres protégées

 populateState ($ordering='name', $direction='asc')
 
- Fonctions membres protégées hérités de InstallerModel
 _getList ($query, $limitstart=0, $limit=0)
 
 translate (&$items)
 

Attributs protégés

 $_context = 'com_installer.discover'
 

Fonctions membres privées

 prepareUtf8mb4StatusTable ()
 

Description détaillée

Installer Database Model

Depuis
1.6

Documentation des fonctions membres

◆ fix()

fix ( )

Fixes database problems.

Renvoie
void

Références JoomlaInstallerScript\deleteUnexistingFiles().

◆ fixDefaultTextFilters()

fixDefaultTextFilters ( )

For version 2.5.x only Check if com_config parameters are blank. If so, populate with com_content text filters.

Renvoie
mixed boolean true if params are updated, null otherwise.

Références Registry\set().

◆ fixSchemaVersion()

fixSchemaVersion (   $changeSet)

Fix schema version if wrong.

Paramètres
JSchemaChangeSet$changeSetSchema change set.
Renvoie
mixed string schema version if success, false if fail.

Références $db, et $query.

◆ fixUpdateVersion()

fixUpdateVersion ( )

Fix Joomla version in #__extensions table if wrong (doesn't equal JVersion short version).

Renvoie
mixed string update version if success, false if fail.

◆ getDefaultTextFilters()

getDefaultTextFilters ( )

For version 2.5.x only Check if com_config parameters are blank.

Renvoie
string default text filters (if any).

◆ getItems()

getItems ( )

Gets the changeset object.

Renvoie
JSchemaChangeset

Références $folder, et JPATH_ADMINISTRATOR.

◆ getPagination()

getPagination ( )

Method to get a JPagination object for the data set.

Renvoie
boolean
Depuis
3.0.1

◆ getSchemaVersion()

getSchemaVersion ( )

Get version from #__schemas table.

Renvoie
mixed the return value from the query, or null if the query fails.
Exceptions
Exception

Références $db, et $query.

◆ getUpdateVersion()

getUpdateVersion ( )

Get current version from #__extensions table.

Renvoie
mixed version if successful, false if fail.

◆ populateState()

populateState (   $ordering = 'name',
  $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
1.6

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

◆ prepareUtf8mb4StatusTable()

prepareUtf8mb4StatusTable ( )
private

Prepare the table to save the status of utf8mb4 conversion Make sure it contains 1 initialized record if there is not already exactly 1 record.

Renvoie
void
Depuis
3.5

Références $count, $db, et elseif.

Documentation des champs

◆ $_context

$_context = 'com_installer.discover'
protected

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