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
ErrorCodeIMPC.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
/**
7
* Errors code used when import Documents
8
* @class ErrorCodeIMPC
9
* @brief List all error for import documents
10
* @see ErrorCode
11
*/
12
class
ErrorCodeIMPC
13
{
14
/**
15
* @errorCode Only valid format can be used to parameter export
16
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
17
*/
18
const
IMPC0001
=
'IMPORT : import Xml extract : file "%s" not found.'
;
19
/**
20
* @errorCode Only valid format can be used to parameter export
21
* @see Dcp\Core\ImportXml::importSingleXmlFile
22
*/
23
const
IMPC0002
=
'IMPORT : Cannot create directory "%s" for xml import.'
;
24
/**
25
* @errorCode Only valid format can be used to parameter export
26
* @see Dcp\Core\ImportXml::importZipFile
27
*/
28
const
IMPC0003
=
'IMPORT : Cannot create directory "%s" for xml zip import.'
;
29
/**
30
* @errorCode Only valid format can be used to parameter export
31
* @see Dcp\Core\ImportXml::importZipFile
32
*/
33
const
IMPC0004
=
'IMPORT : Cannot unzip file "%s" : %s.'
;
34
/**
35
* @errorCode Filename's title must not contain the directory separator char (e.g. '/')
36
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
37
*/
38
const
IMPC0005
=
"Directory separator char ('%s') not allowed in filename '%s'."
;
39
/**
40
* @errorCode Could not create the MediaIndex directory (possible causes: path already exists, missing free disk space, etc.)
41
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
42
*/
43
const
IMPC0006
=
"Error creating MediaIndex directory '%s': %s"
;
44
/**
45
* @errorCode The MediaDir exists but is not adirectory (possible causes: path already exists but is a file (race-condition?), etc.)
46
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
47
*/
48
const
IMPC0007
=
"MediaIndex directory '%s' is not a directory."
;
49
/**
50
* @errorCode The output file could not be opended for writing (possible causes: missing free disk space, erroneous right/ownership on parent dir, etc.)
51
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
52
*/
53
const
IMPC0008
=
"Error opening file '%s' for writing."
;
54
/**
55
* @errorCode
56
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
57
*/
58
const
IMPC0009
=
"Error opening file '%s' for reading."
;
59
/**
60
* @errorCode
61
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
62
*/
63
const
IMPC0010
=
"Error opening file '%s' for writing."
;
64
/**
65
* @errorCode
66
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
67
*/
68
const
IMPC0011
=
"Error renaming '%s' to '%s'."
;
69
/**
70
* @errorCode
71
* @see Dcp\Core\ImportXml::extractFileFromXmlDocument
72
*/
73
const
IMPC0012
=
"Error writing content to '%s'."
;
74
}
ErrorCodeIMPC\IMPC0008
const IMPC0008
Definition:
ErrorCodeIMPC.php:53
ErrorCodeIMPC\IMPC0007
const IMPC0007
Definition:
ErrorCodeIMPC.php:48
ErrorCodeIMPC\IMPC0011
const IMPC0011
Definition:
ErrorCodeIMPC.php:68
ErrorCodeIMPC
List all error for import documents.
Definition:
ErrorCodeIMPC.php:12
ErrorCodeIMPC\IMPC0004
const IMPC0004
Definition:
ErrorCodeIMPC.php:33
ErrorCodeIMPC\IMPC0010
const IMPC0010
Definition:
ErrorCodeIMPC.php:63
ErrorCodeIMPC\IMPC0002
const IMPC0002
Definition:
ErrorCodeIMPC.php:23
ErrorCodeIMPC\IMPC0012
const IMPC0012
Definition:
ErrorCodeIMPC.php:73
ErrorCodeIMPC\IMPC0009
const IMPC0009
Definition:
ErrorCodeIMPC.php:58
ErrorCodeIMPC\IMPC0003
const IMPC0003
Definition:
ErrorCodeIMPC.php:28
ErrorCodeIMPC\IMPC0001
const IMPC0001
Definition:
ErrorCodeIMPC.php:18
ErrorCodeIMPC\IMPC0006
const IMPC0006
Definition:
ErrorCodeIMPC.php:43
ErrorCodeIMPC\IMPC0005
const IMPC0005
Definition:
ErrorCodeIMPC.php:38
← centre documentaire
© anakeen