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