API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
plgAuthenticationExample::onAuthenticate | ( | $ | credentials, |
$ | options, | ||
&$ | response | ||
) |
This method should handle any authentication and report back to the subject
public
array | $credentials | Array holding the user credentials |
array | $options | Array of extra options |
object | $response | Authentication response object |
plgAuthenticationExample::plgAuthenticationExample | ( | &$ | subject, |
$ | config | ||
) |
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.
object | $subject | The object to observe |
array | $config | An array that holds the plugin configuration |
Références $config.