public function getLabel()
    {
        if ($this->model->label != "") {
            return $this->model->label;
        }

        return StringTools::wordifyStringByUpperCase($this->getName());
    }
public function getLabel()
    {
        if ($this->model->label != "") {
            return $this->model->label;
        }

        return StringTools::wordifyStringByUpperCase($this->getName());
    }
public function getLabel ( ) { if ( $ this -> model -> label != "" ) { return $ this -> model -> label ; } return StringTools :: wordifyStringByUpperCase ( $ this -> getName ( ) ) ; }
Returns a label that the hosting view can use in the HTML output.

@return string
Returns a label that the hosting view can use in the HTML output .