Sinisakrisan (Talk | contribs) (Created page with "===Description=== This event trigger when new user created at Jomsocial. ===Params=== *'''User''' - array, consist of user object <syntaxhighlight lang="php"> CUser Object (...") |
(No difference)
|
Revision as of 18:51, 18 January 2013
Description
This event trigger when new user created at Jomsocial.
Params
- User - array, consist of user object
CUser Object ( [name] => John [username] => johnlee [_thumb] => images/photos/63/5/thumb_ff5e436b8148d10a7750abab.jpg )
Example
function onprofilecreate($userObj) { $userObj = $userObj[0]; $userName = $userObj->name; . . . }