public function getItem()
    {
        // Implicitly call first when not within "while ($obj->next())" scope.
        if ($this->intCursor < 0) {
            $this->first();
        }

        // Beyond bounds? return null.
        if (!$this->valid()) {
            return null;
        }

        return $this->arrItems[$this->intCursor];
    }
public function getItem()
    {
        // Implicitly call first when not within "while ($obj->next())" scope.
        if ($this->intCursor < 0) {
            $this->first();
        }

        // Beyond bounds? return null.
        if (!$this->valid()) {
            return null;
        }

        return $this->arrItems[$this->intCursor];
    }
{@inheritdoc}