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

Class: ComDefaultControllerBehaviorExecutable

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

Class Overview

KMixinAbstract
   |
   --KBehaviorAbstract
      |
      --KControllerBehaviorAbstract
         |
         --KControllerBehaviorExecutable
            |
            --ComDefaultControllerBehaviorExecutable

Default Controller Executable Behavior


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: KControllerBehaviorExecutable

KControllerBehaviorExecutable::__construct()
Constructor.
KControllerBehaviorExecutable::canAdd()
Generic authorize handler for controller add actions
KControllerBehaviorExecutable::canBrowse()
Generic authorize handler for controller browse actions
KControllerBehaviorExecutable::canDelete()
Generic authorize handler for controller delete actions
KControllerBehaviorExecutable::canEdit()
Generic authorize handler for controller edit actions
KControllerBehaviorExecutable::canRead()
Generic authorize handler for controller read actions
KControllerBehaviorExecutable::execute()
Command handler
KControllerBehaviorExecutable::getHandle()
Get an object handle
KControllerBehaviorExecutable::isReadOnly()
Get the readonly state of the behavior
KControllerBehaviorExecutable::setReadOnly()
Set the readonly state of the behavior
KControllerBehaviorExecutable::_initialize()
Initializes the default configuration for the object

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 Executable Behavior



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method canAdd [line 52]

boolean canAdd( )

Generic authorize handler for controller add actions



Tags:

return:  Can return both true or false.
access:  public


Overrides KControllerBehaviorExecutable::canAdd() (Generic authorize handler for controller add actions)

[ Top ]

method canDelete [line 94]

boolean canDelete( )

Generic authorize handler for controller delete actions



Tags:

return:  Can return both true or false.
access:  public


Overrides KControllerBehaviorExecutable::canDelete() (Generic authorize handler for controller delete actions)

[ Top ]

method canEdit [line 73]

boolean canEdit( )

Generic authorize handler for controller edit actions



Tags:

return:  Can return both true or false.
access:  public


Overrides KControllerBehaviorExecutable::canEdit() (Generic authorize handler for controller edit actions)

[ Top ]

method execute [line 28]

boolean execute( string $name, $context)

Command handler



Tags:

return:  Can return both true or false.
throws:  KControllerException
access:  public


Overrides KControllerBehaviorExecutable::execute() (Command handler)

Parameters:

string   $name   The command name
object The   $context   command context

[ Top ]

method _checkToken [line 116]

boolean _checkToken( $context)

Check the token to prevent CSRF exploits



Tags:

return:  Returns FALSE if the check failed. Otherwise TRUE.
access:  protected


Parameters:

object The   $context   command context

[ Top ]


Documentation generated on Wed, 22 May 2013 03:01:42 +0200 by phpDocumentor 1.4.3