Class User

Description

Description of User

  • author: jkraaijeveld

Located in /models/User.php (line 13)

ResearchToolObject
   |
   --User
Variable Summary
 mixed $email
Method Summary
 static void create ( $obj)
 static void get (type $arguments)
 User __construct ([ $uid = null], [ $email = null], [ $passwordHash = null], [ $passwordSalt = null])
 void save ()
Variables
mixed $email (line 18)
  • access: public
mixed $passwordHash (line 19)
  • access: public
mixed $passwordSalt (line 20)
  • access: public

Inherited Variables

Inherited from ResearchToolObject

ResearchToolObject::$uid
Methods
static create (line 114)
  • access: public
void create ( $obj)
  • $obj
static get (line 83)

static function get($arguments) Gets the array of User objects belonging to arguments supplied.

  • access: public
void get (type $arguments)
  • type $arguments: : An array containing zero or more of the following keys: 'uid', 'email', 'passwordHash', 'passwordSalt'
Constructor __construct (line 26)

Constructor of User

If the user does not yet exist in the database, call with null as first parameter

  • access: public
User __construct ([ $uid = null], [ $email = null], [ $passwordHash = null], [ $passwordSalt = null])
  • $uid
  • $email
  • $passwordHash
  • $passwordSalt
save (line 41)

function save() Saves the current object into the database.

  • access: public
void save ()

Inherited Methods

Inherited From ResearchToolObject

 ResearchToolObject::createArguments()
 ResearchToolObject::evaluate()
 ResearchToolObject::getUid()
 ResearchToolObject::load()
 ResearchToolObject::stripUri()

Documentation generated on Thu, 01 Mar 2012 15:13:52 +0000 by phpDocumentor 1.4.3