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
ErrorCodeSearchDoc.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
namespace
{
7
/**
8
* Errors code used by searchDoc class
9
* @class ErrorCodeSD
10
* @see ErrorCode
11
* @brief List all error code for searchDoc class
12
* @see SearchDoc
13
*/
14
class
ErrorCodeSD
15
{
16
/**
17
* @errorCode the join must be conform to syntax
18
*
19
*/
20
const
SD0001
=
'join syntax error : %s'
;
21
/**
22
* @errorCode only and, or operator allowed
23
*
24
*/
25
const
SD0002
=
'general filter: Unknown operator %s : %s'
;
26
/**
27
* @errorCode all parenthesis must be closes
28
*
29
*/
30
const
SD0003
=
'general filter: unbalanced parenthesis : %s'
;
31
/**
32
* @errorCode error in syntax
33
*
34
*/
35
const
SD0004
=
'general filter: check syntax : %s'
;
36
/**
37
* @errorCode when use DocSearch::setRecursiveSearch()
38
*
39
*/
40
const
SD0005
=
'recursive search: cannot create temporary search : %s'
;
41
/**
42
* @errorCode when use DocSearch::setRecursiveFolderLevel()
43
*
44
*/
45
const
SD0006
=
'recursive search: level depth must be integer : %s'
;
46
/**
47
* Only words can be use in fulltext not symbol or punctauation
48
* @errorCode when use DocSearch::addGeneralFilter()
49
*
50
*/
51
const
SD0007
=
'general filter: words not supported : "%s"'
;
52
/**
53
* Searching on a "Specialized search" and specifying additional filters is not supported
54
* @errorCode When setting a "Specialized search" collection with useCollection() and adding filters with addFilter()
55
*/
56
const
SD0008
=
'Searching on a "Specialized search" collection and specifying additional filters is not supported'
;
57
/**
58
* for beautifier
59
*/
60
private
function
_bo()
61
{
62
if
(
true
)
return
;
63
}
64
}
65
}
66
67
namespace
Dcp\SearchDoc {
68
class
Exception
extends
\Dcp\Exception
69
{
70
/**
71
* for beautifier
72
*/
73
private
function
_bo()
74
{
75
if
(
true
)
return
;
76
}
77
}
78
}
ErrorCodeSD
List all error code for searchDoc class.
Definition:
ErrorCodeSearchDoc.php:14
ErrorCodeSD\SD0005
const SD0005
Definition:
ErrorCodeSearchDoc.php:40
Dcp\SearchDoc\Exception
Definition:
ErrorCodeSearchDoc.php:68
Dcp\Exception
Exception class use exceptionCode to identifiy correctly exception.
Definition:
exceptions.php:19
ErrorCodeSD\SD0003
const SD0003
Definition:
ErrorCodeSearchDoc.php:30
ErrorCodeSD\SD0007
const SD0007
Definition:
ErrorCodeSearchDoc.php:51
ErrorCodeSD\SD0006
const SD0006
Definition:
ErrorCodeSearchDoc.php:45
ErrorCodeSD\SD0008
const SD0008
Definition:
ErrorCodeSearchDoc.php:56
ErrorCodeSD\SD0002
const SD0002
Definition:
ErrorCodeSearchDoc.php:25
ErrorCodeSD\SD0004
const SD0004
Definition:
ErrorCodeSearchDoc.php:35
ErrorCodeSD\SD0001
const SD0001
Definition:
ErrorCodeSearchDoc.php:20
← centre documentaire
© anakeen