PHP Class Hookable, spaghettiphp

Afficher le fichier Open project: spaghettiphp/spaghettiphp

Protected Properties

Свойство Type Description
$actions
$filters

Méthodes publiques

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

Méthodes protégées

Méthode Description
callHook ( $method, $params )
getHook ( $name, $type )

Method Details

callHook() protected méthode

protected callHook ( $method, $params )

fireAction() public méthode

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

fireFilter() public méthode

public fireFilter ( $hook, $param )

getHook() protected méthode

protected getHook ( $name, $type )

registerHook() public méthode

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

Property Details

$actions protected_oe property

protected $actions

$filters protected_oe property

protected $filters