Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ErrorCodeFMTC.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 namespace {
7  /**
8  * Error codes used to format document list
9  * @class ErrorCodeFMTC
10  * @brief List all error code for format document list
11  * @see FormatCollection
12  * @see ErrorCode
13  */
15  {
16  /**
17  * @errorCode the property used by formatProperties must a property like "title".
18  * @see FormatCollection::addProperty()
19  */
20  const FMTC0001 = 'The document property "%s" is not know. Cannot format document list';
21  /**
22  * @errorCode array, tab and frame type attributes cannot be formated
23  * @see FormatCollection::addAttribute()
24  */
25  const FMTC0002 = 'Structured attribute "%s" cannot be formated.';
26  /**
27  * @errorCode the argument must be one of DateAttributeValue::defaultStyle,DateAttributeValue::frenchStyle,DateAttributeValue::isoWTStyle,DateAttributeValue::isoStyle
28  * @see FormatCollection::setDateStyle()
29  * @see DateAttributeValue
30  */
31  const FMTC0003 = 'Date style %s is not correct.';
32  /**
33  * @errorCode
34  * for beautifier
35  */
36  private function _bo()
37  {
38  if (true) $a = 1;
39  }
40  }
41 }
42 namespace Dcp\Fmtc {
43  class Exception extends \dcp\Exception
44  {
45  /**
46  * for beautifier
47  */
48  private function _bo()
49  {
50  if (true) $a = 1;
51  }
52  }
53 }
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
Definition: checklist.php:45
List all error code for format document list.
← centre documentaire © anakeen