Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeApplicationParameterManager.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 namespace {
7  /**
8  * ErrorCodeApplicationParameterManager
9  *
10  * @see ApplicationParameterManager
11  */
13  {
14  /**
15  * @errorCode The application name not exists
16  */
17  const APM0001 = 'The application id "%s" is not found';
18  /**
19  * @errorCode The global parameter key not exists
20  */
21  const APM0002 = 'Global parameter "%s" is not found';
22  /**
23  * @errorCode The application name not exists
24  */
25  const APM0003 = 'The application name "%s" is not found';
26  /**
27  * @errorCode The type of the application element is not usable
28  */
29  const APM0004 = 'The application type is not usable';
30  /**
31  * @errorCode The type of the user element is not usable
32  */
33  const APM0005 = 'The user type is not usable';
34  /**
35  * @errorCode Error during record user application parameter value
36  */
37  const APM0006 = 'Cannot set user parameter "%s" for application "%s"';
38  /**
39  * @errorCode The parameter key not exists
40  * also when parameter is not declared as user and global
41  */
42  const APM0007 = 'Cannot set User parameter "%s" "%s" user "#%s" not found';
43  /**
44  * @errorCode Unable to get parameter
45  */
46  const APM0008 = 'The parameter %s of the application %s is not found';
47  /**
48  * @errorCode Error during record application parameter value
49  */
50  const APM0009 = 'Cannot set parameter "%s" for application "%s" : %s';
51  /**
52  * @errorCode Unable to get application id, when parameter is global need a parameter name
53  */
54  const APM0010 = 'Unable to get application id, when parameter is global need a parameter name';
55  /**
56  * @errorCode Error during record global application parameter value
57  */
58  const APM0011 = 'Cannot set parameter "%s" no value detected';
59  /**
60  * for beautifier
61  */
62  private function _bo()
63  {
64  if (true) $a = 1;
65  }
66  }
67 }
68 
69 namespace Dcp\ApplicationParameterManager {
70  /**
71  * @errorCode
72  * Account search exception
73  */
74  class Exception extends \Dcp\Exception
75  {
76  /**
77  * for beautifier
78  */
79  private function _bo()
80  {
81  if (true) $a = 1;
82  }
83  }
84 }
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
Definition: checklist.php:45
Exception class use exceptionCode to identifiy correctly exception.
Definition: exceptions.php:19
← centre documentaire © anakeen