Prado\Web\UI\WebControls\TLabel::getTagName PHP Method

getTagName() protected method

protected getTagName ( ) : string
return string tag name of the label, returns 'label' if there is an associated control, 'span' otherwise.
    protected function getTagName()
    {
        return $this->getForControl() === '' ? 'span' : 'label';
    }