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

Class: KServiceLocatorKoowa

Source Location: /libraries/koowa/service/locator/koowa.php

Class Overview

KObject
   |
   --KServiceLocatorAbstract
      |
      --KServiceLocatorKoowa

Service Locator for the Koowa framework


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: KServiceLocatorAbstract

KServiceLocatorAbstract::getType()
Get the type

Class: KObject

KObject::__construct()
Constructor
KObject::get()
Get the object properties
KObject::getHandle()
Get a handle for this object
KObject::getIdentifier()
Gets the service identifier.
KObject::getMethods()
Get a list of all the available methods
KObject::getService()
Get an instance of a class based on a class identifier only creating it if it does not exist yet.
KObject::inherits()
Checks if the object or one of it's mixin's inherits from a class.
KObject::mixin()
Mixin an object
KObject::set()
Set the object properties
KObject::_initialize()
Initializes the options for the object
KObject::__call()
Search the mixin method map and call the method or trigger an error
KObject::__clone()
Preform a deep clone of the object.

Class Details

[line 18]
Service Locator for the Koowa framework



Tags:

author:  Johan Janssens <johan@nooku.org>
uses:  KInflector


[ Top ]


Class Variables

$_type =  'koowa'

[line 25]

The type



Tags:

access:  protected

Type:   string
Overrides:   Array


[ Top ]



Class Methods


method findClass [line 33]

string|false findClass( KServiceIdentifier $identifier)

Get the classname based on an identifier



Tags:

return:  Return object on success, returns FALSE on failure
access:  public


Parameters:

mixed   $identifier   An identifier object - koowa:[path].name

[ Top ]

method findPath [line 56]

string findPath( KServiceIdentifier $identifier)

Get the path based on an identifier



Tags:

return:  Returns the path
access:  public


Parameters:

object An   $identifier   identifier object - koowa:[path].name

[ Top ]


Documentation generated on Mon, 20 May 2013 03:02:53 +0200 by phpDocumentor 1.4.3