public function setValue($value)
    {
        parent::setValue($value);
        $this->setChecked($this->form->getFieldValue($this->name) == $this->getValue());
        return $this;
    }
public function setValue($value)
    {
        parent::setValue($value);
        $this->setChecked($this->form->getFieldValue($this->name) == $this->getValue());
        return $this;
    }
public function setValue ( $ value ) { parent :: setValue ( $ value ) ; $ this -> setChecked ( $ this -> form -> getFieldValue ( $ this -> name ) == $ this -> getValue ( ) ) ; return $ this ; }
Set the value for this field and return the CheckBox reference

@param string $value
@return RadioButton
Set the value for this field and return the CheckBox reference