API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
plgAuthenticationJoomla::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 |
Références $db, $parts, $query, $user, JUserHelper::getCryptedPassword(), JFactory::getDBO(), JUser::getInstance(), et jimport().
plgAuthenticationJoomla::plgAuthenticationJoomla | ( | &$ | 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.