JDatabaseMySQL::getCollation: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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"> | ||
public function getCollation () | public function getCollation () | ||
| Line 16: | Line 14: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::getCollation source code''' on [[jplatform:database/database/mysql.php#cl-177|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQL::getCollation source code''' on [[jplatform:database/database/mysql.php#cl-177|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseMySQL::getCollation|Other versions of JDatabaseMySQL::getCollation]] | * [[API17:JDatabaseMySQL::getCollation|Other versions of JDatabaseMySQL::getCollation]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::getCollation | category=JDatabaseMySQL::getCollation | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 34: | Line 30: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:38, 25 March 2017
JDatabaseMySQL::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 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
User contributed notes
Code Examples