Temporary saving. More...
Public Member Functions | |
save (&$info=null) | |
resetWaitingDocument () | |
complete () | |
getRefererDocument ($reset=false) | |
getWaitingDocument () | |
isValid () | |
computeStatus ($mask=0) | |
restrict to W/O visibilities values More... | |
getExtraData () | |
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) | |
Data Fields | |
$fields | |
$refererid | |
$refererinitid | |
$localid | |
$orivalues | |
$extradata | |
$fromid | |
$values | |
$transaction | |
$uid | |
$title | |
$date | |
$status | |
$statusmessage | |
$arg | |
$id_fields | |
$dbtable = "docwait" | |
$sqlcreate | |
const | newDocument = "new" |
const | upToDate = "uptodate" |
const | modified = "modified" |
const | conflict = "conflict" |
const | constraint = "constraint" |
const | invalid = "invalid" |
const | recording = "recording" |
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 () | |
complete | ( | ) |
computeStatus | ( | $mask = 0 | ) |
restrict to W/O visibilities values
verify if origin values are same as current alive values
integer | $mask | identifier to use specific mask to detect W attributes |
Definition at line 354 of file Class.DocWait.php.
getExtraData | ( | ) |
get extrat data of waiting document
Definition at line 411 of file Class.DocWait.php.
getRefererDocument | ( | $reset = false | ) |
the referer (null if new document)
boolean | $reset | set to true to force update from database |
Definition at line 292 of file Class.DocWait.php.
getWaitingDocument | ( | ) |
the referer with new values, document ready to update original
Definition at line 320 of file Class.DocWait.php.
isValid | ( | ) |
verify if waiting document status is valid
Definition at line 342 of file Class.DocWait.php.
resetWaitingDocument | ( | ) |
get waiting document from database
Definition at line 241 of file Class.DocWait.php.
save | ( | & | $info = null | ) |
save waiting document
mixed | &$info | informations for save |
Definition at line 196 of file Class.DocWait.php.
$arg |
Definition at line 121 of file Class.DocWait.php.
$date |
Definition at line 103 of file Class.DocWait.php.
$dbtable = "docwait" |
Definition at line 136 of file Class.DocWait.php.
$extradata |
Definition at line 67 of file Class.DocWait.php.
$fields |
Definition at line 22 of file Class.DocWait.php.
$fromid |
Definition at line 73 of file Class.DocWait.php.
$id_fields |
Definition at line 127 of file Class.DocWait.php.
$localid |
Definition at line 55 of file Class.DocWait.php.
$orivalues |
Definition at line 61 of file Class.DocWait.php.
$refererid |
Definition at line 43 of file Class.DocWait.php.
$refererinitid |
Definition at line 49 of file Class.DocWait.php.
$sqlcreate |
Definition at line 142 of file Class.DocWait.php.
$status |
Definition at line 109 of file Class.DocWait.php.
$statusmessage |
Definition at line 115 of file Class.DocWait.php.
$title |
Definition at line 97 of file Class.DocWait.php.
$transaction |
Definition at line 85 of file Class.DocWait.php.
$uid |
Definition at line 91 of file Class.DocWait.php.
$values |
Definition at line 79 of file Class.DocWait.php.
const conflict = "conflict" |
Definition at line 167 of file Class.DocWait.php.
const constraint = "constraint" |
Definition at line 168 of file Class.DocWait.php.
const invalid = "invalid" |
Definition at line 169 of file Class.DocWait.php.
const modified = "modified" |
Definition at line 166 of file Class.DocWait.php.
const newDocument = "new" |
#@+ constant for waiting status"
Definition at line 164 of file Class.DocWait.php.
const recording = "recording" |
Definition at line 170 of file Class.DocWait.php.
const upToDate = "uptodate" |
Definition at line 165 of file Class.DocWait.php.