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

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

public getHasAttributes ( ) : boolean
Результат boolean whether the control has custom attributes
    public function getHasAttributes()
    {
        if ($attributes = $this->getViewState('Attributes', null)) {
            return $attributes->getCount() > 0;
        } else {
            return false;
        }
    }
TControl