protected function CreateAfterUrl()
 {
     $args = array('navigation' => $this->navigation->GetID());
     $args['previous'] = $this->item->GetID();
     $parent = $this->item->GetParent();
     if ($parent) {
         $args['parent'] = $parent->GetID();
     }
     return BackendRouter::ModuleUrl(new NavigationItemForm(), $args);
 }
 /**
  * Gets the parent of the navigation item
  * @param NavigationItem $item
  * @return NavigationItem
  */
 public function ParentOf($item)
 {
     return $item->GetParent();
 }