countParts example

return $this->current();
    }

    /** * implements Iterator::valid() * * @return bool check if there's a current element */
    public function valid()
    {
        if ($this->_countParts === null) {
            $this->countParts();
        }
        return $this->_iterationPos && $this->_iterationPos <= $this->_countParts;
    }

    /** * implements Iterator::next() * * @return null */
    public function next()
    {
        
Home | Imprint | This part of the site doesn't use cookies.