atk4\data\Join_Array::beforeUpdate PHP Method

beforeUpdate() public method

public beforeUpdate ( $model, &$data )
    public function beforeUpdate($model, &$data)
    {
        if ($this->weak) {
            return;
        }
        $persistence = $this->persistence ?: $this->owner->persistence;
        $this->id = $persistence->update($model, $this->id, $this->save_buffer, $this->foreign_table);
    }