JDatabaseMySQL/1.5
From Joomla! Documentation
< JDatabaseMySQL(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 135: | Line 135: | ||
<source lang="php">jimport( 'joomla.database.database.mysql' );</source> | <source lang="php">jimport( 'joomla.database.database.mysql' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JDatabaseMySQL''' on [http://api.joomla.org/Joomla-Framework/Database/JDatabaseMySQL.html api.joomla.org] | + | * {{JVer|1.5}} '''JDatabaseMySQL''' on [http://api.joomla.org/1.5/Joomla-Framework/Database/JDatabaseMySQL.html api.joomla.org] |
* {{JVer|1.5}} '''JDatabaseMySQL source code''' on [[jframework15:database/database/mysql.php|JoomlaCode]] | * {{JVer|1.5}} '''JDatabaseMySQL source code''' on [[jframework15:database/database/mysql.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Database/1.5|Database]] | * {{JVer|1.5}} Subpackage [[Subpackage Database/1.5|Database]] | ||
Latest revision as of 14:17, 13 February 2013
[edit]
JDatabaseMySQL
[edit] Description
JDatabaseMySQL is a concrete database handler class for MySQL. [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Database object constructor. |
| public | __destruct | Database object destructor. |
| public | connected | Determines if the connection to the server is active. |
| public | explain | Diagnostic function. |
| public | getAffectedRows | Description. |
| public | getCollation | Assumes database collation in use by sampling one text field in one table. |
| public | getEscaped | Get a database escaped string. |
| public | getNumRows | Description. |
| public | getTableCreate | Shows the CREATE TABLE statement that creates the given tables. |
| public | getTableFields | Retrieves information about the given tables. |
| public | getTableList | Description. |
| public | getVersion | Description. |
| public | hasUTF | Determines UTF support. |
| public | insertid | Description. |
| public | insertObject | Inserts a row into a table based on an objects properties. |
| public | loadAssoc | Fetch a result row as an associative array. |
| public | loadAssocList | Load a assoc list of database rows. |
| public | loadObject | This global function loads the first row of a query into an object. |
| public | loadObjectList | Load a list of database objects. |
| public | loadResult | This method loads the first field of the first row returned by the query. |
| public | loadResultArray | Load an array of single field results into an array. |
| public | loadRow | Description. |
| public | loadRowList | Load a list of database rows (numeric column indexing). |
| public | query | Execute the query. |
| public | queryBatch | Execute a batch query. |
| public | select | Select a database for use. |
| public | setUTF | Custom settings for UTF support. |
| public | updateObject | Description. |
| public | test | Test to see if the MySQL connector is available. |
- Defined in libraries/joomla/database/database/mysql.php
- Extends JDatabase
[edit] Importing
jimport( 'joomla.database.database.mysql' );
[edit] See also
-
JDatabaseMySQL on api.joomla.org
-
JDatabaseMySQL source code on JoomlaCode
-
Subpackage Database
- Other versions of JDatabaseMySQL
SeeAlso:JDatabaseMySQL [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />