Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JTableUser

Description

Users table

  • since: 1.0

Located in /joomla/database/table/user.php (line 25)

Class JObject   (Subpackage Base)

Abstract class JTable
   
   Class JTableUser   (Subpackage Table)
Variable Summary
Variable string $activation
Variable int $block
Variable string $email
Variable int $gid
Variable int $id
Variable datetime $lastvisitDate
Variable string $name
Variable string $params
Variable string $password
Variable datetime $registerDate
Variable string $username
Variable string $usertype
Method Summary
Constructor JTableUser __construct (database &$db)
Method null|string bind ( $array, [ $ignore = ''], array $hash)
Method boolean check ()
Method void delete ([ $oid = null])
Method boolean setLastVisit ([int $timeStamp = null], [ $id = null])
Method void store ([ $updateNulls = false])
Variables
string $activation = null (line 109)

Description

  • var: activation hash
int $block = null (line 74)

Description

string $email = null (line 53)

The email

int $gid = null (line 88)

The group id number

int $id = null (line 32)

Unique id

datetime $lastvisitDate = null (line 102)

Description

string $name = null (line 39)

The users real name (or nickname)

string $params = null (line 116)

Description

string $password = null (line 60)

MD5 encrypted password

datetime $registerDate = null (line 95)

Description

int $sendEmail = null (line 81)

Description

string $username = null (line 46)

The login name

string $usertype = null (line 67)

Description

Inherited Variables

Inherited from JTable

Variable JTable::$_db
Variable JTable::$_tbl
Variable JTable::$_tbl_key

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 121)
JTableUser __construct (database &$db)
  • database &$db: A database connector object

Redefinition of:
JTable::__construct()
Object constructor to set table and key field
bind (line 331)

Overloaded bind function

  • return: null is operation was satisfactory, otherwise returns an error
  • since: 1.5
  • see: JTable:bind
  • access: public
null|string bind ( $array, [ $ignore = ''], array $hash)
  • array $hash: named array
  • $array
  • $ignore

Redefinition of:
JTable::bind()
Binds a named array/hash to this object
check (line 136)

Validation and filtering

  • return: True is satisfactory
boolean check ()

Redefinition of:
JTable::check()
Generic check method
delete (line 242)
void delete ([ $oid = null])
  • $oid

Redefinition of:
JTable::delete()
Default delete method
setLastVisit (line 292)

Updates last visit time of user

  • return: False if an error occurs
boolean setLastVisit ([int $timeStamp = null], [ $id = null])
  • int $timeStamp: The timestamp, defaults to 'now'
  • $id
store (line 198)
void store ([ $updateNulls = false])
  • $updateNulls

Redefinition of:
JTable::store()
Inserts a new row if id is zero or updates an existing row in the database table

Inherited Methods

Inherited From JTable

 JTable::__construct()
 JTable::addIncludePath()
 JTable::bind()
 JTable::canDelete()
 JTable::check()
 JTable::checkin()
 JTable::checkout()
 JTable::delete()
 JTable::getDBO()
 JTable::getInstance()
 JTable::getKeyName()
 JTable::getNextOrder()
 JTable::getTableName()
 JTable::hit()
 JTable::isCheckedOut()
 JTable::load()
 JTable::move()
 JTable::publish()
 JTable::reorder()
 JTable::reset()
 JTable::save()
 JTable::setDBO()
 JTable::store()
 JTable::toXML()

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()

Documentation generated on Sat, 14 Nov 2009 11:22:57 +0000 by phpDocumentor 1.3.1