API17

API17:JTableUser::load

From Joomla! Documentation

Joomla 11.1 JTableUser::load

Description

Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object.


public function load (
        $userId=null
        $reset=true
)
Parameter Type Default Description
$userId integer null An optional user id.
$reset true
  • Returns boolean True on success, false on failure.
  • Defined on line 52 of libraries/joomla/database/table/user.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples