Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeEXPC.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Errors code used when export Documents
8  * @class ErrorCodeEXPC
9  * @brief List all error for export documents
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode Only valid format can be used to parameter export
16  * @see Dcp\ExportCollection::setOutputFormat
17  */
18  const EXPC0001 = 'EXPORT : invalid out format "%s", valid are %s.';
19  /**
20  * @errorCode Need set file output before export collection
21  * @see Dcp\ExportCollection::setOutputFilePath
22  */
23  const EXPC0002 = 'EXPORT : Output file must be set';
24  /**
25  * @errorCode The output file must be writable
26  * @see Dcp\ExportCollection::setOutputFilePath
27  */
28  const EXPC0003 = 'EXPORT : Output file "%s" is not writable';
29  /**
30  * @errorCode Need set document collection to export
31  * @see Dcp\ExportCollection::setDocumentList
32  */
33  const EXPC0004 = 'EXPORT : Collection must be set';
34  /**
35  * @errorCode The output file must be writable
36  * @see Dcp\ExportCollection::setOutputFilePath
37  */
38  const EXPC0005 = 'EXPORT : Output file "%s" cannot be opened in write mode';
39  /**
40  * @errorCode XML format export need to create sub directory
41  * @see Dcp\ExportCollection::export
42  */
43  const EXPC0006 = 'EXPORT : Can create temporay directory "%s" for XML exports';
44  /**
45  * @errorCode The output file must be writable
46  * @see Dcp\ExportCollection::export
47  */
48  const EXPC0007 = 'EXPORT : Output XML file "%s" is not writable';
49  /**
50  * @errorCode XML format export need to goto sub directory where XML files are produced
51  * @see Dcp\ExportCollection::export
52  */
53  const EXPC0008 = 'EXPORT : Cannot change dir to "%s" : XML export aborted';
54  /**
55  * @errorCode XML format export need to restore original directory
56  * @see Dcp\ExportCollection::export
57  */
58  const EXPC0009 = 'EXPORT : Cannot change dir to "%s" : XML export aborted';
59  /**
60  * @errorCode XML format cannot append data to end of file
61  * @see Dcp\ExportCollection::export
62  */
63  const EXPC0010 = 'EXPORT : Ouput file "%s" cannot be completed';
64  /**
65  * @errorCode XML format cannot append last line to output file
66  * @see Dcp\ExportCollection::export
67  */
68  const EXPC0011 = 'EXPORT : Ouput file "%s" cannot be finished';
69  /**
70  * @errorCode XML archive format : output file cannot be produced
71  * @see Dcp\ExportCollection::export
72  */
73  const EXPC0012 = 'EXPORT : Xml archive "%s" cannot be created';
74  /**
75  * @errorCode When use csv with file option
76  * @see Dcp\ExportCollection::setOutputFilePath
77  */
78  const EXPC0013 = 'EXPORT : Work output file "%s" cannot be opened in write mode';
79  /**
80  * @errorCode When use csv with file option
81  * @see Dcp\ExportCollection::setOutputFilePath
82  */
83  const EXPC0014 = 'EXPORT : Extract vault file : Caonot copy "%s" to "%s"';
84  /**
85  * @errorCode Only valid encoding can be used to parameter export
86  * @see Dcp\ExportCollection::setOutputFileEncoding
87  */
88  const EXPC0015 = 'EXPORT : invalid encoding format "%s", valid are %s.';
89  /**
90  * @errorCode Only one character for CSV separator : generally comma
91  * @see Dcp\ExportCollection::setCvsSeparator
92  */
93  const EXPC0016 = 'EXPORT : Only one character for CSV separator : found "%s".';
94  /**
95  * @errorCode The output file cannot be written
96  * @see Dcp\ExportXmlDocument::writeTo
97  */
98  const EXPC0100 = 'EXPORT Xml : Cannot write output to file "%s".';
99  /**
100  * @errorCode The output file cannot be written
101  * @see Dcp\ExportXmlDocument::writeTo
102  */
103  const EXPC0101 = 'EXPORT Xml : Cannot apen output in write mode "%s".';
104  /**
105  * @errorCode The output file cannot be written
106  * @see Dcp\ExportXmlDocument::writeTo
107  */
108  const EXPC0102 = 'EXPORT Xml : Cannot insert attached files to output file "%s".';
109  /**
110  * @errorCode The output file cannot be written
111  * @see Dcp\ExportXmlDocument::getXml
112  * @see Dcp\ExportXmlDocument::setExportFiles
113  */
114  const EXPC0103 = 'EXPORT Xml : Cannot export file using "ExportXmlDocument::getXml"';
115 }
List all error for export documents.
← centre documentaire © anakeen