__construct() public method

Determines if UTF-8 support is to be enabled.
public __construct ( ) : void
return void
Example #1
0
 /**
  * We need to define UTF8_ENABLED the same way that
  * CI_Utf8 constructor does.
  */
 public function __construct()
 {
     if (defined('UTF8_ENABLED')) {
         return;
     }
     parent::__construct();
 }