Class JPlugin

Description

JPlugin Class

Located in /application/extension/plugin.php (line 24)

JObject
   |
   --JObserver
      |
      --JPlugin
Method Summary
 JPlugin JPlugin (object &$subject)
 mixed update (array &$args)
Variables

Inherited Variables

Inherited from JObserver

JObserver::$_subject
Methods
Constructor JPlugin (line 36)

Constructor

For php4 compatability we must not use the __constructor as a constructor for plugins because func_get_args ( void ) returns a copy of all passed arguments NOT references. This causes problems with cross-referencing necessary for the observer design pattern.

  • since: 1.1
JPlugin JPlugin (object &$subject)
  • object $subject: The object to observe
update (line 48)

Method to trigger events based upon the JAuthenticate object

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

Redefinition of:
JObserver::update()
Method to update the state of observable objects

Inherited Methods

Inherited From JObserver

 JObserver::__construct()
 JObserver::update()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:26:04 +0100 by phpDocumentor 1.3.0RC4