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
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
*/
14
class
ErrorCodeACCS
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
}
ErrorCodeACCS\ACCS0006
const ACCS0006
Definition:
ErrorCodeACCS.php:45
ErrorCodeACCS\ACCS0003
const ACCS0003
Definition:
ErrorCodeACCS.php:30
ErrorCodeACCS\ACCS0001
const ACCS0001
Definition:
ErrorCodeACCS.php:20
ErrorCodeACCS\ACCS0005
const ACCS0005
Definition:
ErrorCodeACCS.php:40
ErrorCodeACCS
List all error code for application access It is triggered by 'ACCESS' keyword.
Definition:
ErrorCodeACCS.php:14
ErrorCodeACCS\ACCS0004
const ACCS0004
Definition:
ErrorCodeACCS.php:35
ErrorCodeACCS\ACCS0002
const ACCS0002
Definition:
ErrorCodeACCS.php:25
ErrorCodeACCS\ACCS0007
const ACCS0007
Definition:
ErrorCodeACCS.php:50
← centre documentaire
© anakeen