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

getHasAttributes() public method

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