====== getCollation ====== {#JAPI Joomla.Framework Database JDatabase::getCollation #} Returns the collation being used by the database. Collations are supported by MySQL database starting with version 4.1.2. Previous versions will return 'N/A (mySQL < 4.1.2)'. ===== Syntax ===== string getCollation () ===== Examples ===== $dbo = JFactory::getDBO(); echo $dbo->getCollation(); might produce: utf8_general_ci ---- ~~DISCUSSION~~