API17

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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getCollation|Edit Descripton]]<nowiki>]</nowiki>
</span>
<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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getCollation|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:03, 24 March 2017

Joomla 11.1 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 Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseMySQL::getCollation}}

User contributed notes

<CodeExamplesForm />