Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeDFLT.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 METHOD keyword
8  * @class ErrorCodeDFLT
9  * @brief List all error code for METHOD
10  * @see ErrorCode
11  */
13 {
14  /**
15  * @errorCode default attribute must reference attribute (63 max alphanum characters)
16  */
17  const DFLT0001 = 'default attribute "%s" syntax error in "%s" family';
18  /**
19  * @errorCode default attribute must reference attribute
20  */
21  const DFLT0002 = 'default attribute reference is empty in "%s" family';
22  /**
23  * @errorCode DEFAULT method is not correctly defined
24  */
25  const DFLT0003 = 'the default "%s" reference method "%s" in "%s" family : %s';
26  /**
27  * @errorCode error definition of method in DEFAULT key
28  * @see ErrorCodeATTR::ATTR1260
29  * @see ErrorCodeATTR::ATTR1263
30  * @see ErrorCodeATTR::ATTR1261
31  */
32  const DFLT0004 = 'method error attribute "%s" in family "%s" : %s';
33  /**
34  * @errorCode unknow attribute found in DEFAULT key
35  */
36  const DFLT0005 = 'the default attribute reference "%s" is not found in "%s" family';
37  /**
38  * @errorCode for array default values must be json valide encoded
39  */
40  const DFLT0006 = 'the default array attribute reference "%s" is not json encoded "%s" for "%s" family';
41  /**
42  * @errorCode for array default values must be json valide encoded or method call
43  */
44  const DFLT0007 = 'the default array attribute reference "%s" is not json encoded or method no return a valid array "%s" for "%s" family';
45  /**
46  * @errorCode when use default for array attribute the value must be an array of array
47  */
48  const DFLT0008 = 'the default array attribute reference "%s" not return a valid array ( "%s" return "%s") for "%s" family';
49  /**
50  * @errorCode when use default fot array attribute the value must be an array of array. Somes returns row are invalid
51  */
52  const DFLT0009 = 'the default array attribute reference "%s" not return a valid array ( "%s" return "%s") for "%s" family : "%s"';
53 }
List all error code for METHOD.
← centre documentaire © anakeen