Elgg  Version 1.11
Public Member Functions | Public Attributes | List of all members
Elgg\EventsService Class Reference
Inheritance diagram for Elgg\EventsService:

Public Member Functions

 trigger ($event, $type, $object=null, array $options=array())
 Triggers an Elgg event. More...
- Public Member Functions inherited from Elgg\HooksRegistrationService
 setLogger (\Elgg\Logger $logger=null)
 Set a logger instance, e.g. More...
 registerHandler ($name, $type, $callback, $priority=500)
 Registers a handler. More...
 unregisterHandler ($name, $type, $callback)
 Unregister a handler. More...
 getAllHandlers ()
 Returns all registered handlers as array( $name => array( $type => array( $priority => callback, ... More...
 hasHandler ($name, $type)
 Does the hook have a handler? More...
 getOrderedHandlers ($name, $type)
 Returns an ordered array of handlers registered for $name and $type. More...

Public Attributes

const OPTION_STOPPABLE = 'stoppable'
const OPTION_DEPRECATION_MESSAGE = 'deprecation_message'
const OPTION_DEPRECATION_VERSION = 'deprecation_version'

Additional Inherited Members

- Protected Attributes inherited from Elgg\HooksRegistrationService

Detailed Description

/root/Elgg/engine/lib/cache.php, /root/Elgg/engine/lib/output.php, and /root/Elgg/engine/lib/views.php.

Definition at line 14 of file EventsService.php.

Member Function Documentation

Elgg\EventsService::trigger (   $event,
  $object = null,
array  $options = array() 

Triggers an Elgg event.

See also
elgg_trigger_after_event private

Definition at line 27 of file EventsService.php.

Member Data Documentation

const Elgg\EventsService::OPTION_DEPRECATION_MESSAGE = 'deprecation_message'

Definition at line 17 of file EventsService.php.

const Elgg\EventsService::OPTION_DEPRECATION_VERSION = 'deprecation_version'

Definition at line 18 of file EventsService.php.

const Elgg\EventsService::OPTION_STOPPABLE = 'stoppable'

Definition at line 16 of file EventsService.php.

The documentation for this class was generated from the following file: