Prado\Web\UI\TControl::getAttribute PHP Метод

getAttribute() публичный Метод

public getAttribute ( $name ) : string
Результат 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