Kronolith_Driver::__construct PHP Method

__construct() public method

Just stores the $params in our newly-created object. All other work is done by {@link initialize()}.
public __construct ( array $params = [], string $errormsg = null )
$params array Any parameters needed for this driver.
$errormsg string A custom error message to use.
    public function __construct(array $params = array(), $errormsg = null)
    {
        $this->_params = $params;
        if ($errormsg === null) {
            $this->_errormsg = _("The Calendar backend is not currently available.");
        } else {
            $this->_errormsg = $errormsg;
        }
    }