Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeACCS.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 application access
8  * @class ErrorCodeACCS
9  * @see ErrorCode
10  * @brief List all error code for application access
11  * It is triggered by 'ACCESS' keyword
12  * @see ErrorCode
13  */
15 {
16  /**
17  * @errorCode
18  * the application name must be register before define access
19  */
20  const ACCS0001 = 'application %s is not found, cannot apply access';
21  /**
22  * @errorCode
23  * acl must be referenced in application
24  */
25  const ACCS0002 = 'acl %s not define for %s application, cannot apply acces';
26  /**
27  * @errorCode
28  * user must be created before apply access to him
29  */
30  const ACCS0003 = 'user %s not found, cannot apply access';
31  /**
32  * @errorCode
33  * acl syntax is [alphanum|_]{1,63} - and _ characters are granted
34  */
35  const ACCS0004 = 'acl syntax error, "%s" must be an alphanum limit to 63, cannot apply access';
36  /**
37  * @errorCode
38  * application name syntax is [alphanum|_]{1,63}
39  */
40  const ACCS0005 = 'appname syntax error, "%s" must be an alphanum limit to 63, cannot apply access';
41  /**
42  * @errorCode
43  * application name is required
44  */
45  const ACCS0006 = 'appname not set, cannot apply access';
46  /**
47  * @errorCode
48  * user/group name is required
49  */
50  const ACCS0007 = 'user not set, cannot apply access';
51 }
List all error code for application access It is triggered by 'ACCESS' keyword.
← centre documentaire © anakeen