Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence de la classe EventImmutable
+ Graphe d'héritage de EventImmutable:

Fonctions membres publiques

 __construct ($name, array $arguments=array())
 
 offsetSet ($name, $value)
 
 offsetUnset ($name)
 
- Fonctions membres publiques hérités de AbstractEvent
 __construct ($name, array $arguments=array())
 
 getName ()
 
 getArgument ($name, $default=null)
 
 hasArgument ($name)
 
 getArguments ()
 
 isStopped ()
 
 count ()
 
 serialize ()
 
 unserialize ($serialized)
 
 offsetExists ($name)
 
 offsetGet ($name)
 

Attributs privés

 $constructed = false
 

Membres hérités additionnels

- Attributs protégés hérités de AbstractEvent
 $name
 
 $arguments
 
 $stopped = false
 

Description détaillée

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.

Depuis
1.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $name,
array  $arguments = array() 
)

Constructor.

Paramètres
string$nameThe event name.
array$argumentsThe event arguments.
Exceptions
BadMethodCallException
Depuis
1.0

Références AbstractEvent\$arguments, AbstractEvent\$name, et name.

Documentation des fonctions membres

◆ offsetSet()

offsetSet (   $name,
  $value 
)

Set the value of an event argument.

Paramètres
string$nameThe argument name.
mixed$valueThe argument value.
Renvoie
void
Exceptions
BadMethodCallException
Depuis
1.0

Références AbstractEvent\$name, et name.

◆ offsetUnset()

offsetUnset (   $name)

Remove an event argument.

Paramètres
string$nameThe argument name.
Renvoie
void
Exceptions
BadMethodCallException
Depuis
1.0

Références AbstractEvent\$name, et name.

Documentation des champs

◆ $constructed

$constructed = false
private

La documentation de cette classe a été générée à partir du fichier suivant :