Prado\Web\UI\TControl::getAttribute PHP Method

getAttribute() public method

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;
        }
    }
TControl