Overview

Namespaces

  • Charcoal
    • Loader
    • Model
      • Service
      • ServiceProvider
    • Source
      • Database
    • Validator

Classes

  • DatabaseFilter
  • DatabaseOrder
  • DatabasePagination
  • Overview
  • Namespace
  • Class

Class DatabaseFilter

The DatabaseFilter makes a Filter SQL-aware.

Charcoal\Source\Filter implements Charcoal\Source\FilterInterface
Extended by Charcoal\Source\Database\DatabaseFilter
Namespace: Charcoal\Source\Database
Located at Charcoal/Source/Database/DatabaseFilter.php
Methods summary
public string
# sql( )

Retrieve the Filter's SQL string to append to a WHERE clause.

Retrieve the Filter's SQL string to append to a WHERE clause.

Returns

string
Methods inherited from Charcoal\Source\Filter
active(), func(), operand(), operator(), parseVal(), property(), setActive(), setData(), setFunc(), setOperand(), setOperator(), setProperty(), setString(), setTableName(), setVal(), string(), tableName(), val(), validFunc(), validOperands(), validOperators()
Constants inherited from Charcoal\Source\Filter
DEFAULT_FUNC, DEFAULT_OPERAND, DEFAULT_OPERATOR, DEFAULT_TABLE_NAME
Properties inherited from Charcoal\Source\Filter
$active, $func, $operand, $operator, $property, $string, $tableName, $val
API documentation generated by ApiGen