API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5

Référence de la classe plgUserExample

Graphe d'héritage de plgUserExample:
Graphe de collaboration de plgUserExample:

Liste de tous les membres

Fonctions membres publiques


Documentation des fonctions membres

plgUserExample::onAfterDeleteUser ( user,
succes,
msg 
)

Example store user method

Method is called after user data is deleted from the database

Paramètres:
arrayholds the user data
booleantrue if user was succesfully stored in the database
stringmessage

Références $mainframe.

plgUserExample::onAfterStoreUser ( user,
isnew,
success,
msg 
)

Example store user method

Method is called after user data is stored in the database

Paramètres:
arrayholds the new user data
booleantrue if a new user is stored
booleantrue if user was succesfully stored in the database
stringmessage

Références $mainframe, et $user.

plgUserExample::onBeforeDeleteUser ( user)

Example store user method

Method is called before user data is deleted from the database

Paramètres:
arrayholds the user data

Références $mainframe.

plgUserExample::onBeforeStoreUser ( user,
isnew 
)

Example store user method

Method is called before user data is stored in the database

Paramètres:
arrayholds the old user data
booleantrue if a new user is stored

Références $mainframe.

plgUserExample::onLoginUser ( user,
options 
)

This method should handle any login logic and report back to the subject

public

Paramètres:
arrayholds the user data
arrayextra options
Renvoie:
boolean True on success
Depuis:
1.5
plgUserExample::onLogoutUser ( user)

This method should handle any logout logic and report back to the subject

public

Paramètres:
arrayholds the user data
Renvoie:
boolean True on success
Depuis:
1.5
plgUserExample::plgUserExample ( &$  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.

Paramètres:
object$subjectThe object to observe
array$configAn array that holds the plugin configuration
Depuis:
1.5

Références $config.


La documentation de cette classe a été générée à partir du fichier suivant :