JDatabaseMySQLi::getCollation: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method to get the database collation in use by sampling a text field of a table in the database. | Method to get the database collation in use by sampling a text field of a table in the database. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 17: | Line 17: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseMySQLi::getCollation|Other versions of JDatabaseMySQLi::getCollation]] | * [[API17:JDatabaseMySQLi::getCollation|Other versions of JDatabaseMySQLi::getCollation]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQLi::getCollation | category=JDatabaseMySQLi::getCollation | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:40, 25 March 2017
JDatabaseMySQLi::getCollation
Description
Method to get the database collation in use by sampling a text field of a table in the database.
public function getCollation ()
- Returns mixed The collation in use by the database or boolean false if not supported.
- Defined on line 205 of libraries/joomla/database/database/mysqli.php
- Since

See also
JDatabaseMySQLi::getCollation source code on BitBucket
Class JDatabaseMySQLi
Subpackage Database- Other versions of JDatabaseMySQLi::getCollation
User contributed notes
Code Examples