QListControl::GetItem PHP Method

GetItem() public method

Gets the ListItem at a specific location in objItemsArray
public GetItem ( $intIndex )
    public function GetItem($intIndex)
    {
        try {
            $intIndex = QType::Cast($intIndex, QType::Integer);
        } catch (QInvalidCastException $objExc) {
            $objExc->IncrementOffset();
            throw $objExc;
        }
        if ($intIndex < 0 || $intIndex >= count($this->objItemsArray)) {
            throw new QIndexOutOfRangeException($intIndex, "GetItem()");
        }
        return $this->objItemsArray[$intIndex];
    }