public function get_items_peers($itemid) {
        $itemref = $this->find_item($itemid);
        $peerids = $itemref->parentlist->get_child_ids();
        return $peerids;
    }
public function get_items_peers($itemid) {
        $itemref = $this->find_item($itemid);
        $peerids = $itemref->parentlist->get_child_ids();
        return $peerids;
    }
public function get_items_peers ( $ itemid ) { $ itemref = $ this -> find_item ( $ itemid ) ; $ peerids = $ itemref -> parentlist -> get_child_ids ( ) ; return $ peerids ; }
Returns an array of ids of peers of an item.

@param    int itemid - if given, restrict records to those with this parent id.
@return   array peer ids
Returns an array of ids of peers of an item .