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
ErrorCodeUPAT.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
namespace
{
7
/**
8
* Error codes used to update set od documents
9
* @class ErrorCodeUPAT
10
* @brief List all error code for global update attribute
11
* @see ErrorCode
12
* @see UpdateAttribute
13
*/
14
class
ErrorCodeUPAT
15
{
16
/**
17
* @errorCode
18
* attribut syntax not correct
19
* the attribute argument is not a valid attribute reference
20
*/
21
const
UPAT0001
=
'Attribute syntax error "%s". Update is aborted'
;
22
/**
23
* @errorCode
24
* the search use to create document list must use SearchDoc::setObjectReturn(true)
25
*/
26
const
UPAT0002
=
'Document List Search must be declared with return Object'
;
27
/**
28
* @errorCode
29
* cannot access to status file
30
* @see UpdateAttributeStatus
31
*/
32
const
UPAT0003
=
'Status file "%s" not exist'
;
33
/**
34
* @errorCode
35
* the attribute parameter set is not correct reference
36
* @see UpdateAttribute
37
*/
38
const
UPAT0004
=
'cannot use UpdateAttribute : attribute "%s" not found for "%s" family'
;
39
/**
40
* @errorCode
41
* the document list must refer to a search which use correct family filter
42
* @see UpdateAttribute
43
*/
44
const
UPAT0005
=
'cannot use UpdateAttribute : family "%s" not found'
;
45
/**
46
* @errorCode
47
* the document list must refer to a search which use family filter
48
* @see UpdateAttribute
49
*/
50
const
UPAT0006
=
'cannot use UpdateAttribute : no family filter'
;
51
/**
52
* @errorCode
53
* can use addValue only for multiple attribute
54
* @see UpdateAttribute::addValue
55
*/
56
const
UPAT0007
=
'cannot use addValue : the attribute "%s" (%s) must be declared as multiple'
;
57
/**
58
* @errorCode
59
* can use array argument for addValue only for multiple attribute which are in array and must not have multiple=yes option
60
* @see UpdateAttribute::addValue
61
*/
62
const
UPAT0008
=
'cannot add an array in addValue when attribute is not in an array : the attribute "%s"(%s) must not have multiple=yes option'
;
63
/**
64
* @errorCode
65
* can use removeValue only with multiple attribute
66
* @see UpdateAttribute::removeValue
67
*/
68
const
UPAT0009
=
'cannot use removeValue : the attribute "%s" (%s) must be declared as multiple'
;
69
/**
70
* @errorCode
71
* for beautifier
72
*/
73
private
function
_bo()
74
{
75
if
(
true
)
return
;
76
}
77
}
78
}
79
namespace
Dcp\Upat {
80
class
Exception
extends
\dcp\Exception
81
{
82
/**
83
* for beautifier
84
*/
85
private
function
_bo()
86
{
87
if
(
true
)
return
;
88
}
89
}
90
}
ErrorCodeUPAT\UPAT0009
const UPAT0009
Definition:
ErrorCodeUPAT.php:68
ErrorCodeUPAT\UPAT0004
const UPAT0004
Definition:
ErrorCodeUPAT.php:38
ErrorCodeUPAT\UPAT0008
const UPAT0008
Definition:
ErrorCodeUPAT.php:62
ErrorCodeUPAT\UPAT0002
const UPAT0002
Definition:
ErrorCodeUPAT.php:26
Dcp\Upat\Exception
Definition:
ErrorCodeUPAT.php:80
ErrorCodeUPAT
List all error code for global update attribute.
Definition:
ErrorCodeUPAT.php:14
ErrorCodeUPAT\UPAT0005
const UPAT0005
Definition:
ErrorCodeUPAT.php:44
ErrorCodeUPAT\UPAT0007
const UPAT0007
Definition:
ErrorCodeUPAT.php:56
ErrorCodeUPAT\UPAT0003
const UPAT0003
Definition:
ErrorCodeUPAT.php:32
ErrorCodeUPAT\UPAT0006
const UPAT0006
Definition:
ErrorCodeUPAT.php:50
ErrorCodeUPAT\UPAT0001
const UPAT0001
Definition:
ErrorCodeUPAT.php:21
← centre documentaire
© anakeen