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

Class: ComDefaultControllerBehaviorCacheable

Source Location: /administrator/components/com_default/controllers/behaviors/cacheable.php

Class Overview

KMixinAbstract
   |
   --KBehaviorAbstract
      |
      --KControllerBehaviorAbstract
         |
         --ComDefaultControllerBehaviorCacheable

Default Controller Cacheable Behavior


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: KControllerBehaviorAbstract

KControllerBehaviorAbstract::execute()
Command handler

Class: KBehaviorAbstract

KBehaviorAbstract::__construct()
Constructor.
KBehaviorAbstract::execute()
Command handler
KBehaviorAbstract::getHandle()
Get an object handle
KBehaviorAbstract::getIdentifier()
Gets the service identifier.
KBehaviorAbstract::getMixableMethods()
Get the methods that are available for mixin based
KBehaviorAbstract::getPriority()
Get the priority of a behavior
KBehaviorAbstract::getService()
Get an instance of a class based on a class identifier only creating it if it doesn't exist yet.
KBehaviorAbstract::_initialize()
Initializes the options for the object

Class: KMixinAbstract

KMixinAbstract::__construct()
Object constructor
KMixinAbstract::getHandle()
Get a handle for this object
KMixinAbstract::getMethods()
Get a list of all the available methods
KMixinAbstract::getMixableMethods()
Get the methods that are available for mixin.
KMixinAbstract::getMixer()
Get the mixer object
KMixinAbstract::setMixer()
Set the mixer object
KMixinAbstract::_initialize()
Initializes the options for the object
KMixinAbstract::__call()
Search the mixin method map and call the method or trigger an error
KMixinAbstract::__get()
Overloaded get function
KMixinAbstract::__isset()
Overloaded isset function
KMixinAbstract::__set()
Overloaded set function
KMixinAbstract::__unset()
Overloaded isset function

Class Details

[line 18]
Default Controller Cacheable Behavior



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Variables

$_output =  ''

[line 25]

The cached state of the resource



Tags:

access:  protected

Type:   boolean


[ Top ]



Class Methods


method _afterControllerAdd [line 123]

boolean _afterControllerAdd( $context)

Clean the cache



Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _afterControllerDelete [line 140]

boolean _afterControllerDelete( $context)

Clean the cache



Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _afterControllerEdit [line 157]

boolean _afterControllerEdit( $context)

Clean the cache



Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _afterControllerGet [line 62]

void _afterControllerGet( $context)

Store the unrendered view data in the cache



Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _afterControllerRead [line 92]

void _afterControllerRead( $context)

Return the cached data after read

Only if cached data was found return it but allow the chain to continue to allow processing all the read commands




Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _beforeControllerBrowse [line 108]

void _beforeControllerBrowse( $context)

Return the cached data before browse

Only if cached data was fetch return it and break the chain to dissallow any further processing to take place




Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _beforeControllerGet [line 33]

void _beforeControllerGet( $context)

Fetch the unrendered view data from the cache



Tags:

access:  protected


Parameters:

KCommandContext   $context   A command context object

[ Top ]

method _getGroup [line 191]

string _getGroup( )

Generate a cache group

The group is based on the component identifier




Tags:

access:  protected


[ Top ]

method _getKey [line 175]

string _getKey( )

Generate a cache key

The key is based on the layout, format and model state




Tags:

access:  protected


[ Top ]


Documentation generated on Sun, 19 May 2013 03:02:01 +0200 by phpDocumentor 1.4.3