Class MonkeyList

Description

Located in /Monkey/MonkeyList.php (line 3)


	
			
Direct descendents
Class Description
MonkeyMap
MonkeyStack
Variable Summary
mixed $_list
Method Summary
MonkeyList __construct ()
void AddFirst (unknown_type $object)
int AddLast (object $object)
array Backwards ()
int Clear ()
int Count ()
object First ()
void GetDebug ()
bool IsEmpty ()
object Last ()
array Objects ()
object RemoveFirst ()
object RemoveLast ()
Variables
mixed $_list = array() (line 5)
  • access: protected
Methods
Constructor __construct (line 7)
MonkeyList __construct ()
AddFirst (line 14)

Adds an object into the beginning of the list

  • access: public
void AddFirst (unknown_type $object)
  • unknown_type $object
AddLast (line 25)

Adds an object on the end of the list

  • access: public
int AddLast (object $object)
  • object $object
Backwards (line 107)

Returns the list backwards

  • return: object
  • access: public
array Backwards ()
Clear (line 65)

Clears this object's objects

  • access: public
int Clear ()
Count (line 35)

Returns the number of objects in this object

  • access: public
int Count ()
First (line 45)

Returns the first object from the list

  • access: public
object First ()
GetDebug (line 126)

Returns the debug information to the immediate buffer

  • access: public
void GetDebug ()
IsEmpty (line 75)

Returns 1 if the object is empty or 0 if it isn't

  • access: public
bool IsEmpty ()
Last (line 55)

Returns the last object from the list

  • access: public
object Last ()
Objects (line 117)

Returns the list

  • return: object
  • access: public
array Objects ()
RemoveFirst (line 87)

Removes the first object from the list and returns it

  • access: public
object RemoveFirst ()
RemoveLast (line 97)

Removes the last object from the list and returns it

  • access: public
object RemoveLast ()

Documentation generated on Sun, 12 Feb 2012 04:03:23 -0800 by phpDocumentor 1.4.1