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

Class EventImmutable

Implementation of an immutable Event. An immutable event cannot be modified after instanciation :

  • its propagation cannot be stopped
  • its arguments cannot be modified

You may want to use this event when you want to ensure that the listeners won't manipulate it.

Joomla\Event\AbstractEvent implements Joomla\Event\EventInterface, ArrayAccess, Serializable, Countable
Extended by Joomla\Event\EventImmutable
Final
Namespace: Joomla\Event
Since: 1.0
Located at vendor/joomla/event/src/EventImmutable.php

Methods summary

public
# __construct( string $name, array $arguments = array() )

Constructor.

Constructor.

Parameters

$name
string - $name The event name.
$arguments
array - $arguments The event arguments.

Throws

BadMethodCallException

Since

1.0

Overrides

Joomla\Event\AbstractEvent::__construct
public
# offsetSet( string $name, mixed $value )

Set the value of an event argument.

Set the value of an event argument.

Parameters

$name
string - $name The argument name.
$value
mixed - $value The argument value.

Throws

BadMethodCallException

Since

1.0
public
# offsetUnset( string $name )

Remove an event argument.

Remove an event argument.

Parameters

$name
string - $name The argument name.

Throws

BadMethodCallException

Since

1.0

Methods inherited from Joomla\Event\AbstractEvent

count(), getArgument(), getArguments(), getName(), hasArgument(), isStopped(), offsetExists(), offsetGet(), serialize(), unserialize()

Magic methods summary

Properties summary

Properties inherited from Joomla\Event\AbstractEvent

$arguments, $name, $stopped

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.