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

Class: BasicServiceLocator

Source Location: /locator/BasicServiceLocator.class.php

Class Overview

BasicContainer
   |
   --BasicMutableContainer
      |
      --BasicServiceLocator



Author(s):

  • Tyler Tompkins (ttompkins@mojavi.org)

Methods


Inherited Variables

Inherited Methods

Class: BasicMutableContainer

BasicMutableContainer::import()
Import another Container or an array
BasicMutableContainer::reset()
Reset the Container back to it's original state
BasicMutableContainer::set()
Set a series of values. Can be called with successive key value pairs such as (key, value, key, value, key, value)

Class: BasicContainer

BasicContainer::export()
Retrieve elements from the container
BasicContainer::get()
Get mutator
BasicContainer::has()
Determine if a set of key(s) exists

Class Details

[line 15]


Tags:

author:  Tyler Tompkins (ttompkins@mojavi.org)


[ Top ]


Class Methods


method get [line 227]

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)


Overrides BasicContainer::get() (Get mutator)

Parameters:

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

[ Top ]

method getMethodArguments [line 20]

void getMethodArguments( ReflectionMethod $method, [mixed $defaults = array()])



Tags:

access:  public


[ Top ]

method set [line 179]

True set( string 0, mixed 1)

Set a series of values. Can be called with successive key value pairs such as (key, value, key, value, key, value)



Tags:

return:  on success, false otherwise
access:  public
author:  Tyler Tompkins (ttompkins@mojavi.org)


Overrides BasicMutableContainer::set() (Set a series of values. Can be called with successive key value pairs such as (key, value, key, value, key, value))

Parameters:

string   0  
mixed   1  

[ Top ]


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