public function setLabel()
    {
        if($this->settings->getValue(InputSettings::LABEL_PARAM)) {
            $this->element->setLabel($this->settings->getValue(InputSettings::LABEL_PARAM));
        } else {
            $this->element->setLabel(preg_replace('/.*\\\/', '', get_class($this)));
        }
    }
public function setLabel()
    {
        if($this->settings->getValue(InputSettings::LABEL_PARAM)) {
            $this->element->setLabel($this->settings->getValue(InputSettings::LABEL_PARAM));
        } else {
            $this->element->setLabel(preg_replace('/.*\\\/', '', get_class($this)));
        }
    }
public function setLabel ( ) { if ( $ this -> settings -> getValue ( InputSettings :: LABEL_PARAM ) ) { $ this -> element -> setLabel ( $ this -> settings -> getValue ( InputSettings :: LABEL_PARAM ) ) ; } else { $ this -> element -> setLabel ( preg_replace ( '/.*\\\/' , '' , get_class ( $ this ) ) ) ; } }
Default setter for element label
Default setter for element label