-
Notifications
You must be signed in to change notification settings - Fork 0
CriteriaCompo
MekDrop edited this page Jul 25, 2022
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Database\Criteria\CriteriaCompo
Criteria elements collection
IteratorAggregate, Traversable
Imponeer\Database\Criteria\CriteriaElement
Name | Description |
---|---|
add | Add criteria element to collection |
getIterator |
Name | Description |
---|---|
__construct | OrderByTrait constructor. |
__get | For compatibility. Probably will be removed in feature |
Gets variable value | |
__isset | For compatibility. Probably will be removed in feature |
Checks if variable value is set | |
__set | For compatibility. Probably will be removed in feature |
Sets variable | |
getBindData | Gets data for rendered query for binding |
getGroupBy | Gets group by value |
getLimit | Gets how many results to return |
getOrder | Gets order |
getSort | Gets sort field |
getStart | Gets from what record number to return results (counting starts from 0) |
render | Render the criteria string |
renderWhere | Renders as 'where' SQL string |
setGroupBy | Sets group by |
setLimit | Sets how many results to return |
setOrder | Sets Order |
setSort | Sets sort field |
setStart | Sets from what record number to return results (counting starts from 0) |
Description
public add (\CriteriaElement $criteriaElement, string|\Condition $condition)
Add criteria element to collection
Parameters
-
(\CriteriaElement) $criteriaElement
: Criteria element to add -
(string|\Condition) $condition
: Condition
Return Values
$this
Description
getIterator (void)
Parameters
This function has no parameters.
Return Values
void