Ejemplo n.º 1
0
 public function ChangeSortOrder()
 {
     $resourceId = $this->page->GetResourceId();
     $sortOrder = $this->page->GetSortOrder();
     Log::Debug('Changing sort order for resource %s', $resourceId);
     $resource = $this->resourceRepository->LoadById($resourceId);
     $resource->SetSortOrder($sortOrder);
     $this->resourceRepository->Update($resource);
 }