35 $this->_countSelect = $countSelect;
46 if (!$this->_countSelect instanceof \
Magento\Framework\DB\
Select) {
68 throw new \Magento\Framework\Exception\LocalizedException(
__(
'We cannot determine the field name.'));
124 $this->
setCurPage($pageNum)->setPageSize($pageSize);
144 $idsSelect->limit($limit, $offset);
156 public function getAllIds($limit =
null, $offset =
null)
setSearchCriteria(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria=null)
_attributeToField($attribute)
addFieldToSelect($field, $alias=null)
elseif(isset( $params[ 'redirect_parent']))
addFieldToFilter($attribute, $condition=null)
addAttributeToFilter($attribute, $condition=null)
addAttributeToSelect($attribute)
setTotalCount($totalCount)
setSelectCountSql(\Magento\Framework\DB\Select $countSelect)
_getAllIdsSelect($limit=null, $offset=null)
addOrder($field, $direction=self::SORT_ORDER_DESC)
getAllIds($limit=null, $offset=null)
addAttributeToSort($attribute, $dir='asc')
setPage($pageNum, $pageSize)
setItems(array $items=null)
addItem(\Magento\Framework\DataObject $item)