class JEvent extends JObject

JEvent Class

Methods

__construct( object $subject)

Constructor

mixed
update( array $args)

Method to trigger events.

Details

__construct( object $subject)

Constructor

Parameters

object $subject &$subject The object to observe.

mixed update( array $args)

Method to trigger events.

The method first generates the even from the argument array. Then it unsets the argument since the argument has no bearing on the event handler. If the method exists it is called and returns its return value. If it does not exist it returns null.

Parameters

array $args &$args Arguments

Return Value

mixed Routine return value