public function toArray() {
        $return = array();
        $this->links->setIteratorMode(\SplDoublyLinkedList::IT_MODE_FIFO);
        for($this->links->rewind(); $this->links->valid(); $this->links->next()) {
            $return[] = $this->links->current();
        }
        return $return;
    }
public function toArray() {
        $return = array();
        $this->links->setIteratorMode(\SplDoublyLinkedList::IT_MODE_FIFO);
        for($this->links->rewind(); $this->links->valid(); $this->links->next()) {
            $return[] = $this->links->current();
        }
        return $return;
    }
public function toArray ( ) { $ return = array ( ) ; $ this -> links -> setIteratorMode ( \ SplDoublyLinkedList :: IT_MODE_FIFO ) ; for ( $ this -> links -> rewind ( ) ; $ this -> links -> valid ( ) ; $ this -> links -> next ( ) ) { $ return [ ] = $ this -> links -> current ( ) ; } return $ return ; }
Converts the data in the manager to an array using the FIFO iterator mode

@return array Array of page links
Converts the data in the manager to an array using the FIFO iterator mode