Interface Zend_Registry_Interface

Description
  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Registry/Interface.php (line 28)


	
			
Method Summary
object The get ([string $name = NULL])
boolean has (string $name)
void set (string $name, object $obj)
Methods
get (line 55)

Retrieves a registered shared object, where $name is the registered name of the object to retrieve.

If the $name argument is NULL, an array will be returned where the keys to the array are the names of the objects in the registry and the values are the class names of those objects.

  • return: registered object.
  • access: public
  • throws: Zend_Registry_Exception
  • see: register()
object The get ([string $name = NULL])
  • string $name: The name for the object.
has (line 64)

Returns TRUE if the $name is a named object in the registry, or FALSE if $name was not found in the registry.

  • access: public
boolean has (string $name)
  • string $name
set (line 40)

Registers a shared object.

  • access: public
  • throws: Zend_Registry_Exception
  • todo: use SplObjectStorage if ZF minimum PHP requirement moves up to at least PHP 5.1.0
void set (string $name, object $obj)
  • string $name: The name for the object.
  • object $obj: The object to register.

Documentation generated on Sun, 29 Oct 2006 21:27:58 -0600 by phpDocumentor 1.3.0RC6