public function edit_field($mform) {
        if (!$this->is_editable()) {
            return false;
        }

        $this->edit_field_add($mform);
        $this->edit_field_set_default($mform);
        $this->edit_field_set_required($mform);
        return true;
    }
public function edit_field($mform) {
        if (!$this->is_editable()) {
            return false;
        }

        $this->edit_field_add($mform);
        $this->edit_field_set_default($mform);
        $this->edit_field_set_required($mform);
        return true;
    }
public function edit_field ( $ mform ) { if ( ! $ this -> is_editable ( ) ) { return false ; } $ this -> edit_field_add ( $ mform ) ; $ this -> edit_field_set_default ( $ mform ) ; $ this -> edit_field_set_required ( $ mform ) ; return true ; }
Print out the form field in the edit profile page
@param moodleform $mform instance of the moodleform class
@return bool
Print out the form field in the edit profile page