Public Member Functions | |
preInsert () | |
setExpiration ($expiration="") | |
genToken () | |
getToken () | |
preUpdate () | |
Public Member Functions inherited from DbObj | |
__construct ($dbaccess= '', $id= '', $res= '', $dbid=0) | |
Select ($id) | |
getValues () | |
affectColumn ($fields, $reset=true) | |
affect ($array, $more=false, $reset=true) | |
isAffected () | |
Complete () | |
preInsert () | |
postInsert () | |
preUpdate () | |
postUpdate () | |
preDelete () | |
postDelete () | |
preSelect ($id) | |
postSelect ($id) | |
Add ($nopost=false, $nopre=false) | |
modify ($nopost=false, $sfields="", $nopre=false) | |
delete ($nopost=false) | |
Adds (&$tcopy, $nopost=false) | |
lw ($prop) | |
CloseConnect () | |
Create ($nopost=false) | |
postInit () | |
init_dbid () | |
exec_query ($sql, $lvl=0, $prepare=false) | |
numrows () | |
fetch_array ($c, $type=PGSQL_ASSOC) | |
update () | |
setError ($moreerr= '') | |
autoUpdate () | |
savePoint ($point) | |
lockPoint ($exclusiveLock, $exclusiveLockPrefix= '') | |
setMasterLock ($useLock) | |
rollbackPoint ($point) | |
commitPoint ($point) | |
Static Public Member Functions | |
static | getExpirationDate ($delayInSeconds) |
static | deleteExpired () |
Data Fields | |
$Class = '$Id: Class.UserToken.php,v 1.6 2009/01/16 13:33:00 jerome Exp $' | |
$fields | |
$token | |
$userid | |
$authorid | |
$expire | |
$expendable | |
$context | |
$cdate | |
$description | |
$type = "CORE" | |
$id_fields | |
$dbtable = 'usertoken' | |
$sqlcreate | |
$tokenByteLength = 20 | |
$expiration = 86400 | |
const | INFINITY = "infinity" |
Data Fields inherited from DbObj | |
$dbid = - 1 | |
$dbaccess = '' | |
$fields | |
$dbtable = '' | |
$id_fields | |
$criterias = array() | |
$sup_fields = array() | |
$sup_where = array() | |
$sup_tables = array() | |
$fulltextfields = array() | |
$order_by = "" | |
$isset = false | |
$msg_err = '' | |
$err_code = '' | |
$res = '' | |
$debug = false | |
$sqlcreate | |
$sqlinit | |
$log | |
Additional Inherited Members | |
Static Public Attributes inherited from DbObj | |
static | $savepoint = array() |
static | $lockpoint = array() |
static | $sqlStrict = null |
Protected Member Functions inherited from DbObj | |
tryCreate () | |
Definition at line 22 of file Class.UserToken.php.
|
static |
genToken | ( | ) |
Definition at line 105 of file Class.UserToken.php.
|
static |
Definition at line 92 of file Class.UserToken.php.
getToken | ( | ) |
Definition at line 115 of file Class.UserToken.php.
preInsert | ( | ) |
preUpdate | ( | ) |
Definition at line 129 of file Class.UserToken.php.
setExpiration | ( | $expiration = "" | ) |
Definition at line 83 of file Class.UserToken.php.
$authorid |
Definition at line 40 of file Class.UserToken.php.
$cdate |
Definition at line 44 of file Class.UserToken.php.
$Class = '$Id: Class.UserToken.php,v 1.6 2009/01/16 13:33:00 jerome Exp $' |
Definition at line 24 of file Class.UserToken.php.
$context |
Definition at line 43 of file Class.UserToken.php.
$dbtable = 'usertoken' |
Definition at line 52 of file Class.UserToken.php.
$description |
Definition at line 45 of file Class.UserToken.php.
$expendable |
Definition at line 42 of file Class.UserToken.php.
$expiration = 86400 |
Definition at line 70 of file Class.UserToken.php.
$expire |
Definition at line 41 of file Class.UserToken.php.
$fields |
Definition at line 26 of file Class.UserToken.php.
$id_fields |
Definition at line 48 of file Class.UserToken.php.
$sqlcreate |
Definition at line 54 of file Class.UserToken.php.
$token |
Definition at line 38 of file Class.UserToken.php.
$tokenByteLength = 20 |
Definition at line 69 of file Class.UserToken.php.
$type = "CORE" |
Definition at line 46 of file Class.UserToken.php.
$userid |
Definition at line 39 of file Class.UserToken.php.
const INFINITY = "infinity" |
Definition at line 71 of file Class.UserToken.php.