silverstripe-framework/ORM/Queries/SQLConditionGroup.php
Damian Mooyman 8dd644d25d
API Namespace all classes
Namespace all templates
Move difflib and BBCodeParser2 to thirdparty
Remove deprecated API marked for removal in 4.0
2016-09-08 10:23:17 +12:00

20 lines
523 B
PHP

<?php
namespace SilverStripe\ORM\Queries;
/**
* Represents a where condition that is dynamically generated. Maybe be stored
* within a list of conditions, altered, and be allowed to affect the result
* of the parent sql query during future execution.
*/
interface SQLConditionGroup {
/**
* Determines the resulting SQL along with parameters for the group
*
* @param array $parameters Out list of parameters
* @return string The complete SQL string for this item
*/
function conditionSQL(&$parameters);
}