Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
storeInfo.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5  */
6 
7 class storeInfo
8 {
9  const NO_ERROR = 0;
10  /**
11  * preCreated has return an error
12  */
13  const CREATE_ERROR = 2;
14  /**
15  * database record has return error
16  */
17  const UPDATE_ERROR = 3;
18  /**
19  * all constraints are not validated
20  */
21  const CONSTRAINT_ERROR = 4;
22  /**
23  * preStore has returned an error
24  */
25  const PRESTORE_ERROR = 5;
26  /**
27  * @var string message returned by Doc::refresh
28  */
29  public $refresh = '';
30  /**
31  * @var string message returned by Doc::postStore
32  */
33  public $postStore = '';
34  /**
35  * @deprecated use postStore attribute instead
36  * @var string message returned by Doc::postStore
37  */
38  public $postModify = '';
39  /**
40  * @var string message returned by Doc::preStore
41  */
42  public $preStore = '';
43  /**
44  * set of information about constraint test indexed by attribute identifier and rank index if multiple attribute
45  * @var array message returned by Doc::verifyAllConstraints
46  */
47  public $constraint = array();
48  /**
49  * @var string store error, empty if no errors
50  */
51  public $error = '';
52  /**
53  * @var int error code
54  */
55  public $errorCode = 0;
56 }
const PRESTORE_ERROR
Definition: storeInfo.php:25
const CREATE_ERROR
Definition: storeInfo.php:13
const CONSTRAINT_ERROR
Definition: storeInfo.php:21
const UPDATE_ERROR
Definition: storeInfo.php:17
const NO_ERROR
Definition: storeInfo.php:9
← centre documentaire © anakeen