Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cApiCecChainItem
  • cApiCecHook
  • cApiCecRegistry
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cApiCecChainItem

CEC chain item class.

Package: Core\CEC
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo A. Hummel
Author: Murat Purc murat@purc.de
Located at classes/class.cec.php
Methods summary
public
# __construct( string $sChainName, string $sFunctionName, array $aParameters )

Constructor, sets the CEC chain item properties.

Constructor, sets the CEC chain item properties.

Parameters

$sChainName
$sFunctionName
$aParameters
public
# setChainName( string $sChainName )

Sets the chain name

Sets the chain name

Parameters

$sChainName
public string
# getChainName( )

Returns the chain name

Returns the chain name

Returns

string
public
# setFunctionName( string $sFunctionName )

Sets the function name

Sets the function name

Parameters

$sFunctionName
public string
# getFunctionName( )

Returns the function name

Returns the function name

Returns

string
public
# setCallback( string|array $callback )

Sets the callback

Sets the callback

Parameters

$callback

Throws

cInvalidArgumentException

if the given callback is not a string or an array

public string
# getCallback( )

Returns the callback

Returns the callback

Returns

string
array
public
# setTemporaryArguments( array $args = array() )

Another way to set the arguments before invoking execute() method.

Another way to set the arguments before invoking execute() method.

Parameters

$args
public array
# getTemporaryArguments( )

Will be invoked by execute() method. If temporary arguments where set before, it returns them and resets the property.

Will be invoked by execute() method. If temporary arguments where set before, it returns them and resets the property.

Returns

array
public mixed
# execute( )

Invokes the CEC function/callback.

Invokes the CEC function/callback.

Returns

mixed
If available, the result of the CEC function/callback
Properties summary
protected string $_sChainName

Chain name

Chain name

#
protected string $_sFunctionName

Name of function to invoke

Name of function to invoke

#
protected array $_mCallback

Callback name. Contains either the function name to invoke, or a indexed array (class/object and method) and it's method to execute.

Callback name. Contains either the function name to invoke, or a indexed array (class/object and method) and it's method to execute.

#
protected array $_aParameters

Parameter to pass to the function

Parameter to pass to the function

#
protected array $_mTemporaryArguments

Temporary arguments holder

Temporary arguments holder

#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen