Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
DocWaitManager Class Reference
+ Collaboration diagram for DocWaitManager:

Static Public Member Functions

static saveWaitingDoc (Doc &$doc, $domainId=null, $transaction=null, $extraData=null)
 
static getWaitingDoc ($id)
 
static getUnresolvedLocalLinks ($domain=-1, $user=-1)
 
static getWaitingDocs ($transaction)
 
static getWaitingDocsByDomain ($domainId)
 
static getTransaction ()
 
static clearWaitingDocs ($domain=-1, $user=-1, $docinitid=-1)
 

Detailed Description

Definition at line 19 of file Class.DocWaitManager.php.

Member Function Documentation

static clearWaitingDocs (   $domain = - 1,
  $user = - 1,
  $docinitid = - 1 
)
static

delete waiting document for a domain, an user or an user in a domain

Parameters
int$domaindomain identifier
int$useruser identifier
int$docinitidinitial document identifier

Definition at line 145 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static getTransaction ( )
static

create a new transaction id

Returns
int transaction identifier

Definition at line 134 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static getUnresolvedLocalLinks (   $domain = - 1,
  $user = - 1 
)
static

return unresolved links

Parameters
int$domaindomain identifier
int$useruser identifier
Returns
array index=localid, value=serverid

Definition at line 89 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static getWaitingDoc (   $id)
static

Return waiting doc

Parameters
int$iddoc identifier
Returns
Doc

Definition at line 71 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static getWaitingDocs (   $transaction)
static

return waiting doc for a transaction

Parameters
int$transactiontransaction identifier
Returns
DbObjectList docWait list

Definition at line 111 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static getWaitingDocsByDomain (   $domainId)
static

return waiting doc for a domain

Parameters
int$transactiontransaction identifier
Returns
DbObjectList docWait list

Definition at line 123 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:

static saveWaitingDoc ( Doc $doc,
  $domainId = null,
  $transaction = null,
  $extraData = null 
)
static

create or update a new entry in docWait

Parameters
Doc$doc
Returns
string error message

Definition at line 27 of file Class.DocWaitManager.php.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file:
← centre documentaire © anakeen