Installer Database Model
- Depuis
- 1.6
◆ fix()
◆ 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 | $changeSet | Schema change set. |
- Renvoie
- mixed string schema version if success, false if fail.
Références $db, et $query.
◆ 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()
◆ getPagination()
Method to get a JPagination object for the data set.
- Renvoie
- boolean
- Depuis
- 3.0.1
◆ getSchemaVersion()
Get version from #__schemas table.
- Renvoie
- mixed the return value from the query, or null if the query fails.
- Exceptions
-
Références $db, et $query.
◆ 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 | $ordering | An optional ordering field. |
string | $direction | An 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.
◆ $_context
$_context = 'com_installer.discover' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :