/** * Gets the value of label * * @return string */ public function getLabel() { if (!isset($this->_label)) { $this->_label = $this->model->getAttributeLabel($this->field); } return $this->_label; }