PHP Class Hookable, spaghettiphp

Mostrar archivo Open project: spaghettiphp/spaghettiphp

Protected Properties

Property Type Description
$actions
$filters

Public Methods

Method Description
fireAction ( $hook, $params = [] )
fireFilter ( $hook, $param )
registerHook ( $type, $hook, $method )

Protected Methods

Method Description
callHook ( $method, $params )
getHook ( $name, $type )

Method Details

callHook() protected method

protected callHook ( $method, $params )

fireAction() public method

public fireAction ( $hook, $params = [] )

fireFilter() public method

public fireFilter ( $hook, $param )

getHook() protected method

protected getHook ( $name, $type )

registerHook() public method

public registerHook ( $type, $hook, $method )

Property Details

$actions protected_oe property

protected $actions

$filters protected_oe property

protected $filters