LOG IN
BEGINNER GUIDES
|
PHP CLASSES
|
CODE SEARCH
|
ARTICLES SEARCH
|
PHP FORUMS
|
PHP MANUAL
|
PHP FUNCTIONS LIST
|
WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles
Submit Your Code
SEO Monitor
UpTime Monitor
PHP Code Contest
My Favorite Examples
My Favorite Articles
Update Your Profile
More Weber Sites
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
Recommended Links
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Recommended
Submit Site
Forex Trading
Online forex trading platform
The SplDoublyLinkedList class
SimpleXMLIterator::valid
SplDoublyLinkedList::bottom
SPL
PHP Manual
The SplDoublyLinkedList class
Introduction
The SplDoublyLinkedList class provides the main functionalities of a doubly linked list.
Class synopsis
SplDoublyLinkedList
SplDoublyLinkedList
implements
Iterator
,
ArrayAccess
,
Countable
{
/* Methods */
SplDoublyLinkedList::__construct
(
void
)
mixed
SplDoublyLinkedList::bottom
(
void
)
int
SplDoublyLinkedList::count
(
void
)
mixed
SplDoublyLinkedList::current
(
void
)
int
SplDoublyLinkedList::getIteratorMode
(
void
)
bool
SplDoublyLinkedList::isEmpty
(
void
)
mixed
SplDoublyLinkedList::key
(
void
)
void
SplDoublyLinkedList::next
(
void
)
bool
SplDoublyLinkedList::offsetExists
(
mixed
$index
)
mixed
SplDoublyLinkedList::offsetGet
(
mixed
$index
)
void
SplDoublyLinkedList::offsetSet
(
mixed
$index
,
mixed
$newval
)
void
SplDoublyLinkedList::offsetUnset
(
mixed
$index
)
mixed
SplDoublyLinkedList::pop
(
void
)
void
SplDoublyLinkedList::push
(
mixed
$value
)
void
SplDoublyLinkedList::rewind
(
void
)
void
SplDoublyLinkedList::setIteratorMode
(
int
$mode
)
mixed
SplDoublyLinkedList::shift
(
void
)
mixed
SplDoublyLinkedList::top
(
void
)
void
SplDoublyLinkedList::unshift
(
mixed
$value
)
bool
SplDoublyLinkedList::valid
(
void
)
}
Table of Contents
SplDoublyLinkedList::bottom
— Peaks at the node from the beginning of the doubly linked list
SplDoublyLinkedList::__construct
— Constructs a new doubly linked list
SplDoublyLinkedList::count
— Counts the number of elements in the doubly linked list.
SplDoublyLinkedList::current
— Return current array entry
SplDoublyLinkedList::getIteratorMode
— Returns the mode of iteration
SplDoublyLinkedList::isEmpty
— Checks whether the doubly linked list is empty.
SplDoublyLinkedList::key
— Return current node index
SplDoublyLinkedList::next
— Move to next entry
SplDoublyLinkedList::offsetExists
— Returns whether the requested $index exists
SplDoublyLinkedList::offsetGet
— Returns the value at the specified $index
SplDoublyLinkedList::offsetSet
— Sets the value at the specified $index to $newval
SplDoublyLinkedList::offsetUnset
— Unsets the value at the specified $index
SplDoublyLinkedList::pop
— Pops a node from the end of the doubly linked list
SplDoublyLinkedList::push
— Pushes an element at the end of the doubly linked list
SplDoublyLinkedList::rewind
— Rewind iterator back to the start
SplDoublyLinkedList::setIteratorMode
— Sets the mode of iteration
SplDoublyLinkedList::shift
— Shifts a node from the beginning of the doubly linked list
SplDoublyLinkedList::top
— Peaks at the node from the end of the doubly linked list
SplDoublyLinkedList::unshift
— Prepends the doubly linked list with an element
SplDoublyLinkedList::valid
— Check whether the doubly linked list contains more nodes
SimpleXMLIterator::valid
SplDoublyLinkedList::bottom
SPL
PHP Manual