PlgUserProfile::onUserBeforeSave
Method is called before user data is stored in the database
Signature
public function onUserBeforeSave(array
$user,
boolean
$isnew,
array
$data )
Parameters
-
$user
- Holds the old user data.
-
$isnew
- True if a new user is stored.
-
$data
- Holds the new user data.
Returns
- boolean
Errors/Exceptions
-
InvalidArgumentException
- on invalid date.