protected function checkMissing($key, $params, $attribute) { if (!isset($params[$key])) { throw new Horde_Kolab_Format_Exception(sprintf('Required parameter "%s" missing (attribute: %s)!', $key, $attribute)); } }