Support Joomla!

references:joomla.framework:database:jdatabase-hasutf

Table of Contents

hasUTF

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Database Class JDatabase Method hasUTF Reference hasUTF() Never Work in Progress

Determines whether or not the database has UTF support. Returns true if the database supports UTF, false otherwise.

Syntax

boolean hasUTF ()

Examples

Example

$database =& JFactory::getDBO();
echo 'The database ' . ($database->getVersion() ? 'has' : 'does not have') . ' UTF support.';

might produce:

Result

The database has UTF support.

Discussion

Full name:
E-Mail:
 
references/joomla.framework/database/jdatabase-hasutf.txt (547 views) · Last modified: 2007/08/15 14:52