common.container
[ class tree: common.container ] [ index: common.container ] [ all elements ]

Class: BasicContainer

Source Location: /container/BasicContainer.class.php

Class Overview


PropertyContainer provides users with a simple public property access interface


Author(s):

  • Tyler Tompkins (ttompkins@mojavi.org)

Variables

Methods


Child classes:

SessionStorage
SessionStorage provides a basic interface to $_SESSION
BasicMutableContainer
BasicMutableContainer provides users with a simple public property access interface as an extension of the Container retrieval interface
Model
PropertyContainer provides users with a simple public property access interface
DynamicTypeView
PropertyContainer provides users with a simple public property access interface

Class Details

[line 20]
PropertyContainer provides users with a simple public property access interface



Tags:

since:  4.0.0 $Id$
author:  Tyler Tompkins (ttompkins@mojavi.org)


[ Top ]


Class Variables

$attrs = array()

[line 24]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


method export [line 69]

array export( mixed 0)

Retrieve elements from the container



Tags:

return:  All elements from the container, or the elements selected
access:  public
since:  4.0.0
author:  Tyler Tompkins (ttompkins@mojavi.org)


Parameters:

mixed   0   Export should accept an unlimited number of arguments and return those arguments specifically instead of the entire set of attributes

[ Top ]

method get [line 38]

mixed get( string $key, [mixed $default = null])

Get mutator



Tags:

return:  The value of the key, $default otherwise
access:  public
since:  4.0.0
author:  Tyler Tompkins (ttompkins@mojavi.org)


Overridden in child classes as:

BasicServiceLocator::get()
Get mutator

Parameters:

string   $key   A key
mixed   $default   A default return value if the key is not found

[ Top ]

method has [line 120]

False has( mixed 0)

Determine if a set of key(s) exists



Tags:

return:  if any keys don't exist, true otherwise
access:  public
author:  Tyler Tompkins (ttompkins@mojavi.org)


Parameters:

mixed   0   A key, or list of keys

[ Top ]


Documentation generated on Tue, 21 Feb 2006 02:29:37 +0900 by phpDocumentor 1.3.0RC5