phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DArrayBase

Source Location: /Collections/DArrayBase.php

Class Overview

DObject
   |
   --DArrayBase

Base array collection


Methods


Child classes:

DArrayUniqueStack
Unique value stack
DRSSChannelNodeItemCollection
RSS Version 2.0 Channel Node Item Collection
DRSSItemNodeCategoryCollection
RSS Version 2.0 Item Node Category Collection
DSystemUsersCollection
User class collection
DBrowserHeaders
Header class

Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 14]
Base array collection



[ Top ]


Class Methods


constructor __construct [line 29]

DArrayBase __construct( )

Constructor



Tags:

access:  public


Overridden in child classes as:

DArrayUniqueStack::__construct()
Constructor
DRSSChannelNodeItemCollection::__construct()
Constructor
DRSSItemNodeCategoryCollection::__construct()
Constructor
DSystemUsersCollection::__construct()
Class constructor
DBrowserHeaders::__construct()
Constructor

Overrides DObject::__construct() (Constructor)

[ Top ]

method addAtEnd [line 50]

void addAtEnd( mixed $object)

Adds element at the end of the stack



Tags:

access:  public


Parameters:

mixed   $object  

[ Top ]

method addAtKey [line 73]

boolean addAtKey( mixed $key, mixed $value)

Adds element at key position in the stack



Tags:

access:  public


Parameters:

mixed   $key  
mixed   $value  

[ Top ]

method addAtStart [line 61]

void addAtStart( mixed $object)

Adds element at the beginning of the stack



Tags:

access:  public


Parameters:

mixed   $object  

[ Top ]

method checkIfKeyExists [line 89]

boolean checkIfKeyExists( mixed $key)

Checks if key exists in the stack



Tags:

access:  public


Parameters:

mixed   $key  

[ Top ]

method checkIfValueExists [line 100]

boolean checkIfValueExists( $value, mixed $key)

Checks if value exists in the stack



Tags:

access:  public


Parameters:

mixed   $key  
   $value  

[ Top ]

method getCount [line 187]

int getCount( )

Gets stack count



Tags:

access:  public


[ Top ]

method getData [line 197]

array &getData( )

Gets data



Tags:

access:  public


[ Top ]

method getElementFromKey [line 153]

mixed getElementFromKey( mixed $key)

Gets element from the key position and doesn't remove the element



Tags:

access:  public


Parameters:

mixed   $key  

[ Top ]

method getKeys [line 167]

array getKeys( )

Gets keys of the stack



Tags:

access:  public


[ Top ]

method getValues [line 177]

array getValues( )

Gets values of the stack



Tags:

access:  public


[ Top ]

method init [line 39]

void init( )

Inits the stack



Tags:

access:  public


Overridden in child classes as:

DSystemUsersCollection::init()
Inits users collection

[ Top ]

method popElementFromEnd [line 132]

mixed popElementFromEnd( )

Pops element from the end of the stack and removes it



Tags:

access:  public


[ Top ]

method popElementFromStart [line 142]

mixed popElementFromStart( )

Pops element from the beginning of the stack and removes it



Tags:

access:  public


[ Top ]

method reverse [line 122]

void reverse( [boolean $keepKeys = true])

Reverses the data

This is useful in stack based classes




Tags:

access:  public


Parameters:

boolean   $keepKeys  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:02:18 +0300 by phpDocumentor 1.4.3