public function ChangeAttributes() { $id = $this->page->GetId(); Log::Debug('Changing attributes for resource type id=%s', $id); $type = $this->resourceRepository->LoadResourceType($id); $attributes = $this->GetAttributeValues(); $type->ChangeAttributes($attributes); $this->resourceRepository->UpdateResourceType($type); }