Abstract Class JEvent

Description

JEvent Class

  • abstract:
  • since: 11.1

Located in /libraries/joomla/event/event.php (line 19)

JObject
   |
   --JEvent
Direct descendents
Class Description
Abstract class JPlugin JPlugin Class
Abstract class FOFModelBehavior FrameworkOnFramework model behavior class. It defines the events which are called by a Model.
Abstract class FOFTableBehavior FrameworkOnFramework table behavior class. It defines the events which are called by a Table.
Variable Summary
 object $_subject
Method Summary
 JEvent __construct (object &$subject)
 mixed update (array &$args)
Variables
object $_subject = null (line 27)

Event object to observe.

  • since: 11.3
  • access: protected

Inherited Variables

Inherited from JObject

JObject::$_errors
Methods
Constructor __construct (line 36)

Constructor

  • since: 11.3
  • access: public
JEvent __construct (object &$subject)
  • object &$subject: The object to observe.

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.

Redefined in descendants as:
update (line 58)

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.

  • return: Routine return value
  • since: 11.1
  • access: public
mixed update (array &$args)
  • array &$args: Arguments

Inherited Methods

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:02:39 +0100 by phpDocumentor 1.4.3