static SGL_Filter factory(
string
$handler
)
|
|
Used to create concrete Finder implementations.
Parameters:
API Tags:
SGL_Finder addFilter(
string
$filterName, string
$filterValue
)
|
|
Used to add filters and build dynamic Finder objects.
Parameters:
|
string |
$filterName: |
|
|
string |
$filterValue: |
|
API Tags:
Implementation of:
- SGL_CmsFindable::addFilter()
Redefined in descendants as:
array getAttributeFilters(
)
|
|
Returns an array of attribute filters.
API Tags:
Returns an array of the Finder's filters.
API Tags:
Gets Pager object.
API Tags:
SGL_Finder paginate(
[array
$pagerOptions = array()]
)
|
|
Prepares results for pagination.
Parameters:
API Tags:
void setPager(
[array
$pagerOptions = array()]
)
|
|
Sets up Pager object.
Parameters:
API Tags:
array _maintainPagerState(
)
|
|
Retrieves and maintains pager options.
API Tags:
| Return: | $perPage |
| Access: | protected |
string _prepareAttribConstraint(
)
|
|
Prepare constraint to match against attribute props.
Valid keys from $this->_aAttributes: name operator value
API Tags:
| Return: | sql query or empty string $ret = " AND at.name = 'body' AND ad.value = 'And this is some richtext'"; |
| Access: | protected |
Information Tags:
string _prepareCategoryConstraint(
)
|
|
Enter description here...
API Tags:
string _prepareContentConstraint(
)
|
|
Prepare constraint to match against attribute props
Valid keys from $this->_aFilters: typeId createdBy status sortBy sortOrder
API Tags:
| Return: | sql query or empty string $ret = "WHERE c.content_type_id = 1"; |
| Access: | protected |
Get limit value.
API Tags:
array _prepareOrdering(
)
|
|
Prepare ordering.
Valid keys from $this->_aFilters: sortOrder sortBy
API Tags: