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

Class: KServiceIdentifierRegistry

Source Location: /libraries/koowa/service/identifier/registry.php

Class Overview

ArrayObject
   |
   --KServiceIdentifierRegistry

Service Identifier Registry Class


Author(s):

Variables

Methods


Inherited Constants

Class: ArrayObject (Internal Class)

ARRAY_AS_PROPS = 2
STD_PROP_LIST = 1

Inherited Methods

Class: ArrayObject (Internal Class)

constructor __construct ( $array )
append ( $value )
asort ( )
count ( )
exchangeArray ( $array )
getArrayCopy ( )
getFlags ( )
getIterator ( )
getIteratorClass ( )
ksort ( )
natcasesort ( )
natsort ( )
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $newval )
offsetUnset ( $index )
setFlags ( $flags )
setIteratorClass ( $iteratorClass )
uasort ( $cmp_function )
uksort ( $cmp_function )

Class Details

[line 17]
Service Identifier Registry Class



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Variables

$_cache =  false

[line 24]

Cache



Tags:

access:  protected

Type:   boolean


[ Top ]

$_cache_prefix =  'koowa-cache-identifier'

[line 31]

Cache Prefix



Tags:

access:  protected

Type:   boolean


[ Top ]



Class Methods


method enableCache [line 39]

boolean enableCache( [boolean $enabled = true])

Enable class caching



Tags:

return:  TRUE if caching is enabled. FALSE otherwise.
access:  public


Parameters:

boolean   $enabled   Enable or disable the cache. Default is TRUE.

[ Top ]

method getCachePrefix [line 66]

string getCachePrefix( )

Get the cache prefix



Tags:

return:  The cache prefix
access:  public


[ Top ]

method offsetExists [line 114]

bool offsetExists( int $offset)

Check if the offset exists



Tags:

access:  public


Overrides ArrayObject::offsetExists ( $index ) (parent method not documented)

Parameters:

int   $offset   The offset

[ Top ]

method offsetGet [line 77]

mixed offsetGet( int $offset)

Get an item from the array by offset



Tags:

return:  The item from the array
access:  public


Overrides ArrayObject::offsetGet ( $index ) (parent method not documented)

Parameters:

int   $offset   The offset

[ Top ]

method offsetSet [line 99]

object KObjectArray offsetSet( int $offset, mixed $value)

Set an item in the array



Tags:

access:  public


Overrides ArrayObject::offsetSet ( $index, $newval ) (parent method not documented)

Parameters:

int   $offset   The offset of the item
mixed   $value   The item's value

[ Top ]

method setCachePrefix [line 56]

void setCachePrefix( string $prefix)

Set the cache prefix



Tags:

access:  public


Parameters:

string   $prefix   The cache prefix

[ Top ]


Documentation generated on Sun, 19 May 2013 03:05:16 +0200 by phpDocumentor 1.4.3