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

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

Sets a custom control attribute.
public setAttribute ( $name, $value )
    public function setAttribute($name, $value)
    {
        $this->getAttributes()->add($name, $value);
    }
TControl