function RemoveItem($idx)
    {
        $result = array();
        foreach ($this->items as $currentIdx => $item)
        {
            if ($currentIdx != $idx)
                $result[] = $item;
        }
        $this->items = $result;
    }
function RemoveItem($idx)
    {
        $result = array();
        foreach ($this->items as $currentIdx => $item)
        {
            if ($currentIdx != $idx)
                $result[] = $item;
        }
        $this->items = $result;
    }
function RemoveItem ( $ idx ) { $ result = array ( ) ; foreach ( $ this -> items as $ currentIdx => $ item ) { if ( $ currentIdx != $ idx ) $ result [ ] = $ item ; } $ this -> items = $ result ; }
Removes an item from the items list
@param int $idx The item position
Removes an item from the items list