Offline Server  1.6
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Method.OfflineGlobalFolder.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Offline domain
4  *
5  * @author Anakeen
6  * @version $Id: $
7  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
8  * @package OFFLINE
9  */
10 /**
11  */
12 
13 /*
14  * @begin-method-ignore
15  * this part will be deleted when construct document class until end-method-ignore
16  */
17 
18 /**
19  * offline domain fonctionalities
20  *
21  */
23 {
24  /*
25  * @end-method-ignore
26  */
27 
28  public function hookBeforeInsert($docid)
29  {
30  $err = $this->callHookDocument($docid, "onBeforeInsertIntoSharedFolder");
31  return $err;
32  }
33  public function hookAfterInsert($docid)
34  {
35  $err = $this->callHookDocument($docid, "onAfterInsertIntoSharedFolder");
36  return $err;
37  }
38  public function hookBeforeRemove($docid)
39  {
40  $err = $this->callHookDocument($docid, "onBeforeRemoveFromSharedFolder");
41  return $err;
42  }
43  public function hookAfterRemove($docid)
44  {
45  $err = $this->callHookDocument($docid, "onAfterRemoveFromSharedFolder");
46  return $err;
47  }
48 
49 /*
50  * @begin-method-ignore
51  * this part will be deleted when construct document class until end-method-ignore
52  */
53 }
54 
55 /*
56  * @end-method-ignore
57  */
callHookDocument($docid, $method)
← centre documentaire © anakeen - published under CC License - Dynacase