public function current()
    {
        $this->prepareQuery();

        if (false !== current($this->idsArray)) {
            return current($this->idsArray);
        } else {
            throw new PointerException('Can\'t retrieve the current element');
        }
    }
public function current()
    {
        $this->prepareQuery();

        if (false !== current($this->idsArray)) {
            return current($this->idsArray);
        } else {
            throw new PointerException('Can\'t retrieve the current element');
        }
    }
public function current ( ) { $ this -> prepareQuery ( ) ; if ( false !== current ( $ this -> idsArray ) ) { return current ( $ this -> idsArray ) ; } else { throw new PointerException ( 'Can\'t retrieve the current element' ) ; } }
Implements Iterator interface
@throws PointerException
@return int
Implements Iterator interface