getExtensionById('tao'); } /** * (non-PHPdoc) * @see \oat\oatbox\AbstractRegistry::getConfigId() */ protected function getConfigId() { return self::REGISTRY_ID; } public function getValidators(\core_kernel_classes_Property $property) { $validationProp = $this->getProperty(self::PROPERTY_VALIDATION_RULE); $rules = []; foreach ($property->getPropertyValues($validationProp) as $ruleId) { $rule = $this->get($ruleId); if ($rule == '') { throw new \common_exception_NotFound('No validation rule found with id "' . $ruleId . '"'); } $rules[] = $rule; } return $rules; } }