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

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

public hasAttribute ( $name ) : boolean
Результат boolean whether the named attribute exists
    public function hasAttribute($name)
    {
        if ($attributes = $this->getViewState('Attributes', null)) {
            return $attributes->contains($name);
        } else {
            return false;
        }
    }
TControl