public function set($value) {
        if (empty($this->grade->id)) {
            return false;
        }

        $state = $value == 0 ? false : true;

        $this->grade->set_overridden($state);
        $this->grade->grade_item->force_regrading();
        return false;
    }
public function set($value) {
        if (empty($this->grade->id)) {
            return false;
        }

        $state = $value == 0 ? false : true;

        $this->grade->set_overridden($state);
        $this->grade->grade_item->force_regrading();
        return false;
    }
public function set ( $ value ) { if ( empty ( $ this -> grade -> id ) ) { return false ; } $ state = $ value == 0 ? false : true ; $ this -> grade -> set_overridden ( $ state ) ; $ this -> grade -> grade_item -> force_regrading ( ) ; return false ; }
Save the modified value of this form element.

@param string $value The new value to set
@return mixed string|false Any error message
Save the modified value of this form element .