CI_Encrypt::__construct PHP Method

__construct() public method

Initialize Encryption class
public __construct ( ) : void
return void
    public function __construct()
    {
        if (($this->_mcrypt_exists = function_exists('mcrypt_encrypt')) === FALSE) {
            show_error('The Encrypt library requires the Mcrypt extension.');
        }
        log_message('info', 'Encrypt Class Initialized');
    }

Usage Example

Example #1
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
 }
All Usage Examples Of CI_Encrypt::__construct