private function fetchRow()
    {
        ++$this->cursor;
        $imageId = $this->rowReader->getRow();

        if (substr($imageId, 0, strlen($this->prefix)) == $this->prefix) {
            $imageId = ltrim(substr($imageId, strlen($this->prefix)), '/');
        }

        $this->item = $imageId;
    }
private function fetchRow()
    {
        ++$this->cursor;
        $imageId = $this->rowReader->getRow();

        if (substr($imageId, 0, strlen($this->prefix)) == $this->prefix) {
            $imageId = ltrim(substr($imageId, strlen($this->prefix)), '/');
        }

        $this->item = $imageId;
    }
private function fetchRow ( ) { ++ $ this -> cursor ; $ imageId = $ this -> rowReader -> getRow ( ) ; if ( substr ( $ imageId , 0 , strlen ( $ this -> prefix ) ) == $ this -> prefix ) { $ imageId = ltrim ( substr ( $ imageId , strlen ( $ this -> prefix ) ) , '/' ) ; } $ this -> item = $ imageId ; }
Fetches the next item from the resultset, moves the cursor forward, and removes the prefix from the image id.
Fetches the next item from the resultset moves the cursor forward and removes the prefix from the image id .