references:joomla.framework:database:jdatabase-getcollationTable of Contents
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)’. Syntaxstring getCollation () ExamplesExample $dbo = JFactory::getDBO(); echo $dbo->getCollation(); might produce: Result utf8_general_ci Discussion |


