Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodePRFL.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Errors code used to checking document's profil
8  * @class ErrorCodePRFL
9  * @brief List all error code for profil
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode
16  * the profil id must is required
17  */
18  const PRFL0001 = 'profil identifier is not set';
19  /**
20  * @errorCode
21  * the profil id must reference a document
22  */
23  const PRFL0002 = 'profil identifier "%s" is not found';
24  /**
25  * @errorCode
26  * the document where attach profil must reference a document
27  */
28  const PRFL0003 = 'document identifier "%s" is not found, profil not set';
29  /**
30  * @errorCode
31  * the profil id must reference a profil document
32  */
33  const PRFL0004 = 'profil "%s" is not compatible with "%s" document';
34  /**
35  * @errorCode
36  * profil modifier is RESET, ADD or DELETE
37  */
38  const PRFL0005 = 'unavailable modifier "%s" must be one of %s';
39  /**
40  * @errorCode
41  * syntax error for acl description
42  */
43  const PRFL0100 = 'acl syntax error "%s" for "%s" profil, must be "<acl>=<user|group>"';
44  /**
45  * @errorCode
46  * acl is not available for this profil
47  */
48  const PRFL0101 = 'unavailable acl "%s" for "%s" profil, must be one of %s';
49  /**
50  * @errorCode
51  * acl user is not set
52  */
53  const PRFL0102 = 'user id not set in acl for "%s" profil';
54  /**
55  * @errorCode
56  * user must be exists for static profil
57  */
58  const PRFL0103 = 'account "%s" not found in acl for "%s" static profil';
59  /**
60  * @errorCode
61  * user must be exists for static profil
62  */
63  const PRFL0104 = 'user login "%s" not found in acl for "%s" static profil';
64  /**
65  * @errorCode
66  * acl must reference an user or an attribute in dynamic profil
67  */
68  const PRFL0200 = 'user or attribute "%s" not found in acl for "%s" dynamic profil, available are %s';
69  /**
70  * @errorCode
71  * attribute in dynamic profil must reference relation attribute (docid)
72  */
73  const PRFL0201 = 'attribute "%s" is not a relation in acl for "%s" dynamic profil (not an account or a docid with isuser=yes), available are %s';
74  /**
75  * @errorCode
76  * family profy cannot be dynamic
77  */
78  const PRFL0202 = 'family profil"%s" must not have dpdoc_famid';
79  /**
80  * @errorCode
81  * dynamic profil must reference a valid family document
82  */
83  const PRFL0203 = 'unknow dynamic reference "%s" for "%s" dynamic profil';
84  /**
85  * @errorCode user must be exists for static profil
86  */
87  const PRFL0204 = 'user login "%s" not found in acl for profil';
88  /**
89  * @errorCode user must be exists for static profil
90  * @see \Dcp\ExportDocument::setExportAccountType
91  */
92  const PRFL0300 = 'Export option setExportAccountType "%s" not available. Availables are : %s';
93 }
List all error code for profil.
← centre documentaire © anakeen