SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 506 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Parameters id User ID
Returns true on success
Appendix
[ 371 ]
save( updateOnly : boolean=false ) : boolean
Saves the user to the database. If updateOnly is true, then the creation of a new user will
not be permitted. If this is the case, and an attempt is made to save a new user, the method
will still return true.
Before saving the user a number of sanity checks are made, including data validation and
authorization verification. If any of these fail then the method will return false.
Parameters [updateOnly] Only save if it is an existing user
Returns true on success
setLastVisit( timestamp : string ) : boolean
Updates the user's database record last visit date; note that this does not update the
lastvisitDate property of the object.
Parameters timestamp Timestamp for the last visit
Returns true on success
setParam( key : string, value : mixed ) : mixed
Sets the value of a user's parameter.
Parameters key Name of the parameter
value Value of the parameter
Returns Previous value of the parameter
setParameters( data : string, path : string=null ) : void
Loads an INI parameter string.


Pages:
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518