public function edit_load_user_data($user) {
        if ($this->data !== null) {
            $user->{$this->inputname} = $this->data;
        }
    }
public function edit_load_user_data($user) {
        if ($this->data !== null) {
            $user->{$this->inputname} = $this->data;
        }
    }
public function edit_load_user_data ( $ user ) { if ( $ this -> data !== null ) { $ user -> { $ this -> inputname } = $ this -> data ; } }
Loads a user object with data for this field ready for the edit profile
form
@param stdClass $user a user object
Loads a user object with data for this field ready for the edit profile form