public function toArray()
        {
            $pages = array();

            $this->_dirtyIndex = true;
            $this->_sort();
            $indexes = array_keys($this->_index);

            foreach ($indexes as $hash) {
                $pages[] = $this->_pages[$hash]->toArray();
            }

            return $pages;
        }