code: public function generateLabel()
  	{
  		if ($this->strLabel == '')
  		{
  			return '';
  		}
  
  		return sprintf('<label for="ctrl_%s" class="mandatory%s"><span class="invisible">%s </span>%s<span class="mandatory">*</span><span class="invisible"> %s</span></label>',
  						$this->strId,
  						(($this->strClass != '') ? ' ' . $this->strClass : ''),
  						$GLOBALS['TL_LANG']['MSC']['mandatory'],
  						$this->strLabel,
  						$this->getQuestion());
  	}
docs: Generate the label and return it as string
  
  @return string The label markup