/** * @inheritdoc */ public function getRequiredConfParams() { return ArrayHelper::merge(parent::getRequiredConfParams(), array('VK_SND_ID' => 'string', 'VK_ACC' => 'string', 'VK_NAME' => 'string')); }
/** * @inheritdoc */ protected function validateConf() { parent::validateConf(); if (false !== ($function = $this->getConfParam('hash_function', false))) { if (!in_array($function, $this->hashFunctions)) { throw new Exception("Unknown hash function: '{$function}'. Please use one of: " . implode(', ', $this->hashFunctions)); } } }
/** * @inheritdoc */ public function getRequiredConfParams() { return ArrayHelper::merge(parent::getRequiredConfParams(), array('id' => 'string')); }