Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
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
*/
12
class
ErrorCodePRFL
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
}
ErrorCodePRFL\PRFL0001
const PRFL0001
Definition:
ErrorCodePRFL.php:18
ErrorCodePRFL\PRFL0005
const PRFL0005
Definition:
ErrorCodePRFL.php:38
ErrorCodePRFL\PRFL0203
const PRFL0203
Definition:
ErrorCodePRFL.php:83
ErrorCodePRFL\PRFL0300
const PRFL0300
Definition:
ErrorCodePRFL.php:92
ErrorCodePRFL\PRFL0003
const PRFL0003
Definition:
ErrorCodePRFL.php:28
ErrorCodePRFL\PRFL0202
const PRFL0202
Definition:
ErrorCodePRFL.php:78
ErrorCodePRFL
List all error code for profil.
Definition:
ErrorCodePRFL.php:12
ErrorCodePRFL\PRFL0100
const PRFL0100
Definition:
ErrorCodePRFL.php:43
ErrorCodePRFL\PRFL0002
const PRFL0002
Definition:
ErrorCodePRFL.php:23
ErrorCodePRFL\PRFL0004
const PRFL0004
Definition:
ErrorCodePRFL.php:33
ErrorCodePRFL\PRFL0101
const PRFL0101
Definition:
ErrorCodePRFL.php:48
ErrorCodePRFL\PRFL0200
const PRFL0200
Definition:
ErrorCodePRFL.php:68
ErrorCodePRFL\PRFL0103
const PRFL0103
Definition:
ErrorCodePRFL.php:58
ErrorCodePRFL\PRFL0204
const PRFL0204
Definition:
ErrorCodePRFL.php:87
ErrorCodePRFL\PRFL0104
const PRFL0104
Definition:
ErrorCodePRFL.php:63
ErrorCodePRFL\PRFL0102
const PRFL0102
Definition:
ErrorCodePRFL.php:53
ErrorCodePRFL\PRFL0201
const PRFL0201
Definition:
ErrorCodePRFL.php:73
← centre documentaire
© anakeen