JDatabaseMySQLi::getCollation: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseMySQLi::getCollation== | =={{JVer|11.1}} JDatabaseMySQLi::getCollation== | ||
===Description=== | ===Description=== | ||
Method to get the database collation in use by sampling a text field of a table in the database. | |||
{{Description:JDatabaseMySQLi::getCollation}} | {{Description:JDatabaseMySQLi::getCollation}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::getCollation|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseMySQLi::getCollation|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public | public function getCollation () | ||
</source> | </source> | ||
* '''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''' {{JVer|11.1 }} | |||
libraries/joomla/database/database/mysqli.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQLi::getCollation source code''' on [[jplatform:database/database/mysqli.php#cl-197|BitBucket]] | |||
* {{JVer|11.1}} Class [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | |||
* [[JDatabaseMySQLi::getCollation|Other versions of JDatabaseMySQLi::getCollation]] | |||
{{SeeAlso:JDatabaseMySQLi::getCollation}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::getCollation|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::getCollation|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 33: | Line 31: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::getCollation]]</noinclude> | <noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::getCollation]]</noinclude> | ||
Revision as of 01:33, 28 April 2011
JDatabaseMySQLi::getCollation
Description
Method to get the database collation in use by sampling a text field of a table in the database.
Template:Description:JDatabaseMySQLi::getCollation [Edit Descripton]
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
Template:SeeAlso:JDatabaseMySQLi::getCollation [Edit See Also]
User contributed notes
<CodeExamplesForm />