1) { list ($previous_item, $ignore, $next_item) = $item->parent()->viewable()->children(3, $position - 2, $where); } else { $previous_item = null; list ($next_item) = $item->parent()->viewable()->children(1, $position, $where); } return array("position" =>$position, "previous_item" => $previous_item, "next_item" =>$next_item, "sibling_count" => $item->parent()->viewable()->children_count($where), "parents" => $item->parents()->as_array(), "breadcrumbs" => Breadcrumb::array_from_item_parents($item)); } }