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; } }