JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • AbstractEvent
  • DelegatingDispatcher
  • Dispatcher
  • Event
  • EventImmutable
  • ListenersPriorityQueue
  • Priority

Interfaces

  • DispatcherAwareInterface
  • DispatcherInterface
  • EventInterface

Traits

  • DispatcherAwareTrait

Trait DispatcherAwareTrait

Defines the trait for a Dispatcher Aware Class.

Namespace: Joomla\Event
Since: 1.2.0
Located at vendor/joomla/event/src/DispatcherAwareTrait.php

Methods summary

public Joomla\Event\DispatcherInterface
# getDispatcher( )

Get the event dispatcher.

Get the event dispatcher.

Returns

Joomla\Event\DispatcherInterface

Throws

UnexpectedValueException - May be thrown if the dispatcher has not been set.

Since

1.2.0
public mixed
# setDispatcher( Joomla\Event\DispatcherInterface $dispatcher )

Set the dispatcher to use.

Set the dispatcher to use.

Parameters

$dispatcher
Joomla\Event\DispatcherInterface - $dispatcher The dispatcher to use.

Returns

mixed - $this

Since

1.2.0

Magic methods summary

Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.