|
| getOptions () |
|
| initialise ($select=true) |
|
| createDatabase () |
|
| handleOldDatabase () |
|
| createTables ($schema) |
|
| backupDatabase ($db, $prefix) |
|
| createDb ($db, $options, $utf) |
|
| populateDatabase ($db, $schema) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getTable ($name='', $prefix='', $options=array()) |
|
| isCheckedOut ($item) |
|
| getDbo () |
|
| setDbo (DatabaseInterface $db=null) |
|
| __get ($name) |
|
| __construct ($config=array()) |
|
| getName () |
|
| __construct ($properties=null) |
|
| __toString () |
|
| def ($property, $default=null) |
|
| get ($property, $default=null) |
|
| getProperties ($public=true) |
|
| getError ($i=null, $toString=true) |
|
| getErrors () |
|
| set ($property, $value=null) |
|
| setProperties ($properties) |
|
| setError ($error) |
|
| getState ($property=null, $default=null) |
|
| setState ($property, $value=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setCurrentUser (User $currentUser) |
|
| setCacheControllerFactory (CacheControllerFactoryInterface $factory) |
|
| setDatabase (DatabaseInterface $db) |
|
Database configuration model for the Joomla Core Installer.
- Depuis
- 3.1
◆ backupDatabase()
backupDatabase |
( |
|
$db, |
|
|
|
$prefix |
|
) |
| |
◆ createDatabase()
Method to create a new database.
- Renvoie
- boolean
- Depuis
- 3.1
- Exceptions
-
Références $db, $i, $option, $options, $type, Text\_(), DatabaseHelper\checkDbServerParameters(), DatabaseHelper\getEncryptionSettings(), DatabaseDriver\getInstance(), Factory\getSession(), et Text\sprintf().
◆ createDb()
createDb |
( |
|
$db, |
|
|
|
$options, |
|
|
|
$utf |
|
) |
| |
Method to create a new database.
- Paramètres
-
DatabaseDriver | $db | Database object. |
CMSObject | $options | CMSObject coming from "initialise" function to pass user and database name to database driver. |
boolean | $utf | True if the database supports the UTF-8 character set. |
- Renvoie
- boolean True on success.
- Depuis
- 3.1
Références $db, et $options.
◆ createTables()
◆ getOptions()
Get the current setup options from the session.
- Renvoie
- array An array of options from the session.
- Depuis
- 4.0.0
Références Factory\getSession().
◆ handleOldDatabase()
◆ initialise()
initialise |
( |
|
$select = true | ) |
|
Method to initialise the database.
- Paramètres
-
boolean | $select | Select the database when creating the connections. |
- Renvoie
- DatabaseInterface|boolean Database object on success, boolean false on failure
- Depuis
- 3.1
Références $lang, $options, DatabaseHelper\checkRemoteDbHost(), LanguageHelper\exists(), Factory\getApplication(), DatabaseHelper\getDbo(), DatabaseHelper\getEncryptionSettings(), Factory\getLanguage(), JPATH_ADMINISTRATOR, Text\sprintf(), ArrayHelper\toObject(), et DatabaseHelper\validateConnectionParameters().
◆ populateDatabase()
populateDatabase |
( |
|
$db, |
|
|
|
$schema |
|
) |
| |
◆ splitQueries()
Method to split up queries from a schema file into an array.
- Paramètres
-
- Renvoie
- array Queries to perform.
- Depuis
- 3.1
Références $buffer, $i, $query, et elseif.
La documentation de cette classe a été générée à partir du fichier suivant :