public getRequiredAttrs ( ) : A | ||
Результат | A | list of the type URIs for attributes that have been marked as required. |
function getRequiredAttrs()
{
$required = array();
foreach ($this->requested_attributes as $type_uri => $attribute) {
if ($attribute->required) {
$required[] = $type_uri;
}
}
return $required;
}