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
ErrorCodeACCT.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
/**
7
* Error codes used to checking manage user/group/role
8
* @class ErrorCodeACCT
9
* @brief List all error code for user/group/tole mamnagement
10
* @see ErrorCode
11
*/
12
class
ErrorCodeACCT
13
{
14
/**
15
* @errorCode
16
* the reference role to add to a user is not correct. can be system identifier
17
* or login reference (role_login)
18
*/
19
const
ACCT0001
=
'Cannot add role "%s" for %s user "%s". This role is unknow'
;
20
/**
21
* @errorCode
22
* the user object must be completed (must have id)
23
*/
24
const
ACCT0002
=
'Cannot add role "%s" in unassigned user object'
;
25
/**
26
* @errorCode
27
* the role can be add only on a user (not to a role itself neither a group)
28
*/
29
const
ACCT0003
=
'Cannot add role "%s" into a role or a group ("%s"). '
;
30
/**
31
* @errorCode
32
* the user object must be completed (must have id)
33
*/
34
const
ACCT0004
=
'Cannot delete all role to a unassigned user object'
;
35
/**
36
* @errorCode
37
* the user object must not be a role (only group or user)
38
*/
39
const
ACCT0005
=
'Cannot delete all role to a role ("%s") object'
;
40
/**
41
* @errorCode
42
* the user object must be completed (must have id)
43
*/
44
const
ACCT0006
=
'Cannot set role "%s" in unassigned user object'
;
45
/**
46
* @errorCode
47
* the role can be add only on a group or a user (not to a role itself)
48
*/
49
const
ACCT0007
=
'Cannot set role "%s" into a role ("%s"). '
;
50
/**
51
* @errorCode
52
* the reference role to add to a user is not correct. can be system identifier
53
* or login reference (role_login)
54
* This is a part of a role set
55
*/
56
const
ACCT0008
=
'Cannot add role "%s" for %s user "%s". This role is unknow'
;
57
/**
58
* @errorCode account as no type
59
*/
60
const
ACCT0100
=
'Account "%s" ( #%d ) as no type. Must be a user, group or role'
;
61
/**
62
* @errorCode Search Account is not initialized
63
* @see \Dcp\Core\ExportAccount::setSearchAccount
64
*/
65
const
ACCT0101
=
'Search Account must be initialized before export it'
;
66
/**
67
* @errorCode Imported substitute must reference a login account
68
* @see \Dcp\Core\ImportAccounts
69
*/
70
const
ACCT0200
=
'Substitute "%s" not found for users "%s"'
;
71
/**
72
* @errorCode The accounts xml file must be validate by accounts.xsd schema
73
* @see \Dcp\Core\ImportAccounts
74
*/
75
const
ACCT0201
=
'Cannot import account XML file : no match schema : %s'
;
76
/**
77
* @errorCode Document associated to account must reference a valid family
78
* @see \Dcp\Core\ImportAccounts
79
*/
80
const
ACCT0202
=
'Cannot import account XML file : family "%s" not found'
;
81
/**
82
* @errorCode The accounts xml document tags must be validate by family schema
83
* @see \Dcp\Core\ImportAccounts
84
*/
85
const
ACCT0203
=
'Cannot import account XML file : document tag no match schema : %s'
;
86
/**
87
* @errorCode An abort order for import account has be received
88
* @see \Dcp\Core\ImportAccounts
89
*/
90
const
ACCT0204
=
'User Abort'
;
91
/**
92
* @errorCode An abort order for export account has be received
93
* @see \Dcp\Core\ExportAccounts
94
*/
95
const
ACCT0205
=
'User Abort'
;
96
/**
97
* @errorCode Import account stop on first error detected
98
* @see \Dcp\Core\ImportAccounts
99
*/
100
const
ACCT0206
=
'Stop On Error'
;
101
/**
102
* @errorCode Import account
103
* @see \Dcp\Core\EXportAccounts::setExportSchemaDirectory
104
*/
105
const
ACCT0207
=
'Export directory "%s" is not a directory'
;
106
/**
107
* @errorCode Import account
108
* @see \Dcp\Core\EXportAccounts::setExportSchemaDirectory
109
*/
110
const
ACCT0208
=
'Export directory "%s" is not a writable'
;
111
/**
112
* @errorCode The document account has already a logical name
113
* @see \Dcp\Core\ImportAccounts
114
*/
115
const
ACCT0209
=
'Mismatch logical name "%s" <> "%s"'
;
116
}
ErrorCodeACCT\ACCT0209
const ACCT0209
Definition:
ErrorCodeACCT.php:115
ErrorCodeACCT\ACCT0006
const ACCT0006
Definition:
ErrorCodeACCT.php:44
ErrorCodeACCT\ACCT0101
const ACCT0101
Definition:
ErrorCodeACCT.php:65
ErrorCodeACCT\ACCT0008
const ACCT0008
Definition:
ErrorCodeACCT.php:56
ErrorCodeACCT\ACCT0201
const ACCT0201
Definition:
ErrorCodeACCT.php:75
ErrorCodeACCT\ACCT0204
const ACCT0204
Definition:
ErrorCodeACCT.php:90
ErrorCodeACCT
List all error code for user/group/tole mamnagement.
Definition:
ErrorCodeACCT.php:12
ErrorCodeACCT\ACCT0205
const ACCT0205
Definition:
ErrorCodeACCT.php:95
ErrorCodeACCT\ACCT0207
const ACCT0207
Definition:
ErrorCodeACCT.php:105
ErrorCodeACCT\ACCT0202
const ACCT0202
Definition:
ErrorCodeACCT.php:80
ErrorCodeACCT\ACCT0005
const ACCT0005
Definition:
ErrorCodeACCT.php:39
ErrorCodeACCT\ACCT0002
const ACCT0002
Definition:
ErrorCodeACCT.php:24
ErrorCodeACCT\ACCT0001
const ACCT0001
Definition:
ErrorCodeACCT.php:19
ErrorCodeACCT\ACCT0100
const ACCT0100
Definition:
ErrorCodeACCT.php:60
ErrorCodeACCT\ACCT0003
const ACCT0003
Definition:
ErrorCodeACCT.php:29
ErrorCodeACCT\ACCT0208
const ACCT0208
Definition:
ErrorCodeACCT.php:110
ErrorCodeACCT\ACCT0206
const ACCT0206
Definition:
ErrorCodeACCT.php:100
ErrorCodeACCT\ACCT0004
const ACCT0004
Definition:
ErrorCodeACCT.php:34
ErrorCodeACCT\ACCT0007
const ACCT0007
Definition:
ErrorCodeACCT.php:49
ErrorCodeACCT\ACCT0200
const ACCT0200
Definition:
ErrorCodeACCT.php:70
ErrorCodeACCT\ACCT0203
const ACCT0203
Definition:
ErrorCodeACCT.php:85
← centre documentaire
© anakeen