Inheritance diagram for testHook:
Collaboration diagram for testHook:Public Member Functions | |
| onBeforePushTransaction (_OfflineDomain &$domain) | |
| onAfterPushTransaction (_OfflineDomain &$domain) | |
| onAfterSaveTransaction (_OfflineDomain &$domain) | |
| onBeforePullUserDocuments (_OfflineDomain &$domain) | |
| onAfterPullSharedDocuments (_OfflineDomain &$domain) | |
| onBeforePullSharedDocuments (_OfflineDomain &$domain) | |
| onAfterPullUserDocuments (_OfflineDomain &$domain) | |
| onAfterSaveDocument (_OfflineDomain &$domain, Doc &$updatedDoc, $data=null) | |
| onPullDocument (_OfflineDomain &$domain, Doc &$doc) | |
| onBeforePushDocument (_OfflineDomain &$domain, Doc &$doc, $data=null) | |
| onAfterPushDocument (_OfflineDomain &$domain, Doc &$doc, $data=null) | |
| onBeforeSaveDocument (_OfflineDomain &$domain, Doc &$waitDoc, Doc &$refererDoc=null, $data=null) | |
Definition at line 5 of file testHook.php.
| onAfterPullSharedDocuments | ( | _OfflineDomain & | $domain | ) |
call after all shared documents are be transfered from server to client
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 29 of file testHook.php.
| onAfterPullUserDocuments | ( | _OfflineDomain & | $domain | ) |
call after all user documents are be transfered from server to client
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 42 of file testHook.php.
| onAfterPushDocument | ( | _OfflineDomain & | $domain, |
| Doc & | $doc, | ||
$extraData = null |
|||
| ) |
call after push document from client to server the document waiting from the transation end to be recording in database
| _OfflineDomain | $domain | the current domain document |
| Doc | $doc | the document to push |
| Object | $extraData | extra data set by client |
Implements DomainHook.
Definition at line 79 of file testHook.php.
| onAfterPushTransaction | ( | _OfflineDomain & | $domain | ) |
call after all documents are been transfered from client to server at the step documents waiting to be recorded
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 13 of file testHook.php.
| onAfterSaveDocument | ( | _OfflineDomain & | $domain, |
| Doc & | $updatedDoc, | ||
$extraData = null |
|||
| ) |
call after record document
| _OfflineDomain | $domain | the current domain document |
| Doc | $updatedDoc | the updated document |
| Object | $extraData | extra data set by client |
Implements DomainHook.
Definition at line 47 of file testHook.php.
| onAfterSaveTransaction | ( | _OfflineDomain & | $domain | ) |
final call after all document records
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 18 of file testHook.php.
| onBeforePullSharedDocuments | ( | _OfflineDomain & | $domain | ) |
call before synchronize all shared documents from server to client if return error the pull is aborted
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 35 of file testHook.php.
| onBeforePullUserDocuments | ( | _OfflineDomain & | $domain | ) |
call before synchronize all user documents from server to client if return error the pull is aborted
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 23 of file testHook.php.
| onBeforePushDocument | ( | _OfflineDomain & | $domain, |
| Doc & | $doc, | ||
$extraData = null |
|||
| ) |
call before push document from client to server if return error the push is aborted
| _OfflineDomain | $domain | the current domain document |
| Doc | $doc | the document to push |
| Object | $extraData | extra data set by client |
Implements DomainHook.
Definition at line 73 of file testHook.php.
| onBeforePushTransaction | ( | _OfflineDomain & | $domain | ) |
call before begin transaction to transfered modification from client to server if return error the transaction is aborted
| _OfflineDomain | $domain | the current domain document |
Implements DomainHook.
Definition at line 7 of file testHook.php.
| onBeforeSaveDocument | ( | _OfflineDomain & | $domain, |
| Doc & | $waitDoc, | ||
| Doc & | $refererDoc = null, |
||
$extraData = null |
|||
| ) |
call before record document which waiting after a push request if return error the recording is aborted
| _OfflineDomain | $domain | the current domain document |
| Doc | $waitDoc | the waiting document |
| Doc | $refererDoc | the referer document (can be null if it is a document creation) |
| Object | $extraData | extra data set by client |
Implements DomainHook.
Definition at line 84 of file testHook.php.
| onPullDocument | ( | _OfflineDomain & | $domain, |
| Doc & | $doc | ||
| ) |
call before synchronize a documents from server to client if return error the pull of the document is aborted
| _OfflineDomain | $domain | the current domain document |
| Doc | $doc | the document to pull |
Implements DomainHook.
Definition at line 53 of file testHook.php.
| ← centre documentaire |
|