public getAttribute ( $name ) : string | ||
return | string | attribute value, null if attribute does not exist |
public function getAttribute($name)
{
if ($attributes = $this->getViewState('Attributes', null)) {
return $attributes->itemAt($name);
} else {
return null;
}
}