JDatabaseMySQLi/1.5

From Joomla! Documentation
< JDatabaseMySQLi(Difference between revisions)
Jump to: navigation, search
(Layout updates)
m (See also: fixing link to API)
 
Line 135: Line 135:
 
<source lang="php">jimport( 'joomla.database.database.mysqli' );</source>
 
<source lang="php">jimport( 'joomla.database.database.mysqli' );</source>
 
===See also===
 
===See also===
* {{JVer|1.5}} '''JDatabaseMySQLi''' on [http://api.joomla.org/Joomla-Framework/Database/JDatabaseMySQLi.html api.joomla.org]
+
* {{JVer|1.5}} '''JDatabaseMySQLi''' on [http://api.joomla.org/1.5/Joomla-Framework/Database/JDatabaseMySQLi.html api.joomla.org]
 
* {{JVer|1.5}} '''JDatabaseMySQLi source code''' on [[jframework15:database/database/mysqli.php|JoomlaCode]]
 
* {{JVer|1.5}} '''JDatabaseMySQLi source code''' on [[jframework15:database/database/mysqli.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] Joomla 1.5 JDatabaseMySQLi

[edit] Description

JDatabaseMySQLi is a concrete database handler class for MySQL. The MySQLi driver can only be used for MySQL 4.1 and higher. The "i" at the end stands for "improved" (faster, better, etc.). [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 MySQLi connector is available.
  • Defined in libraries/joomla/database/database/mysqli.php
  • Extends JDatabase

[edit] Importing

jimport( 'joomla.database.database.mysqli' );

[edit] See also

SeeAlso:JDatabaseMySQLi [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox