JDatabaseMySQL::getCollation: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| 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. | ||
{{Description:JDatabaseMySQL::getCollation}} | {{subst:Description:JDatabaseMySQL::getCollation}} | ||
<source lang="php"> | <source lang="php"> | ||
public function getCollation () | public function getCollation () | ||
| Line 19: | Line 17: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseMySQL::getCollation|Other versions of JDatabaseMySQL::getCollation]] | * [[API17:JDatabaseMySQL::getCollation|Other versions of JDatabaseMySQL::getCollation]] | ||
{{SeeAlso:JDatabaseMySQL::getCollation}} | {{subst:SeeAlso:JDatabaseMySQL::getCollation}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:03, 24 March 2017
JDatabaseMySQL::getCollation
Description
Method to get the database collation in use by sampling a text field of a table in the database.
{{subst:Description:JDatabaseMySQL::getCollation}}
public function getCollation ()
- Returns mixed The collation in use by the database or boolean false if not supported.
- Defined on line 185 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::getCollation source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::getCollation
{{subst:SeeAlso:JDatabaseMySQL::getCollation}}
User contributed notes
<CodeExamplesForm />