Convert a Livestatus Filter tree to a livestatus query. More...
Public Member Functions | |
__construct ($column_formatter) | |
Create new Livestatus visitor. | |
visit_and (LivestatusFilterAnd $filt, $data) | |
Visit an and node. | |
visit_or (LivestatusFilterOr $filt, $data) | |
Visit an or node. | |
visit_match (LivestatusFilterMatch $filt, $data) | |
Visit an negation node. | |
visit_not (LivestatusFilterNot $filt, $data) | |
Visit an negation node. | |
Protected Attributes | |
$filter = "Filter: " | |
The query name of a filter. | |
$and = "And: " | |
The query name of a and-line. | |
$or = "Or: " | |
The query name of a or-line. | |
$not = "Negate:" | |
The query name of a negation line. | |
$column_formatter | |
a callback for converting a ORM layer column name to a database layer column name |
Convert a Livestatus Filter tree to a livestatus query.
LivestatusFilterBuilderVisitor::__construct | ( | $ | column_formatter | ) |
Create new Livestatus visitor.
$column_formatter | a callback for converting a ORM layer column name to a database layer column name |