lithium\g11n\multibyte\adapter\Iconv::enabled PHP Method

enabled() public static method

Determines if this adapter is enabled by checking if the iconv extension is loaded.
public static enabled ( ) : boolean
return boolean Returns `true` if enabled, otherwise `false`.
    public static function enabled()
    {
        return extension_loaded('iconv');
    }

Usage Example

 public function skip()
 {
     $this->skipIf(!Iconv::enabled(), 'The `Iconv` adapter is not enabled.');
 }