API17

JDatabaseMySQLi::getCollation: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDatabaseMySQLi::getCollation==
=={{JVer|11.1}} JDatabaseMySQLi::getCollation==
===Description===
===Description===
Assumes database collation in use by sampling one text field in one table.  
Method to get the database collation in use by sampling a text field of a table in the database.  
 
 


{{Description:JDatabaseMySQLi::getCollation}}
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::getCollation|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQLi->getCollation ()
public function getCollation ()
</source>
</source>
===Returns===
* '''Returns''' mixed The collation in use by the database or boolean false if not supported.
string Collation in use
* '''Defined''' on line 205 of libraries/joomla/database/database/mysqli.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysqli.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabaseMySQLi::getCollation source code''' on [[jplatform:database/database/mysqli.php#cl-197|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::getCollation|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabaseMySQLi|JDatabaseMySQLi]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
* [[API17:JDatabaseMySQLi::getCollation|Other versions of JDatabaseMySQLi::getCollation]]
* [[JDatabaseMySQLi::getCollation|Other versions of this method]]
 
{{SeeAlso:JDatabaseMySQLi::getCollation}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQLi::getCollation
category=JDatabaseMySQLi::getCollation
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::getCollation]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:40, 25 March 2017

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

See also


User contributed notes

Code Examples