|
| setDateRange ($fromDate, $toDate) |
|
| setStoreIds ($storeIds) |
|
| __construct (\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Psr\Log\LoggerInterface $logger, \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Eav\Model\Config $eavConfig, \Magento\Framework\App\ResourceConnection $resource, \Magento\Eav\Model\EntityFactory $eavEntityFactory, \Magento\Eav\Model\ResourceModel\Helper $resourceHelper, \Magento\Framework\Validator\UniversalFactory $universalFactory, \Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot $entitySnapshot, \Magento\Framework\DataObject\Copy\Config $fieldsetConfig, \Magento\Quote\Api\CartRepositoryInterface $quoteRepository, \Magento\Quote\Model\ResourceModel\Quote\Item\CollectionFactory $quoteItemFactory, \Magento\Sales\Model\ResourceModel\Order\Collection $orderResource, \Magento\Framework\DB\Adapter\AdapterInterface $connection=null, $modelName=self::CUSTOMER_MODEL_NAME) |
|
| addCartInfo () |
|
| addCustomerName () |
|
| addOrdersStatistics ($isFilter=false) |
|
| orderByCustomerRegistration ($dir=self::SORT_ORDER_DESC) |
|
| getSelectCountSql () |
|
| __construct (\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Psr\Log\LoggerInterface $logger, \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Eav\Model\Config $eavConfig, \Magento\Framework\App\ResourceConnection $resource, \Magento\Eav\Model\EntityFactory $eavEntityFactory, \Magento\Eav\Model\ResourceModel\Helper $resourceHelper, \Magento\Framework\Validator\UniversalFactory $universalFactory, \Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot $entitySnapshot, \Magento\Framework\DataObject\Copy\Config $fieldsetConfig, \Magento\Framework\DB\Adapter\AdapterInterface $connection=null, $modelName=self::CUSTOMER_MODEL_NAME) |
|
| groupByEmail () |
|
| addNameToSelect () |
|
| getSelectCountSql () |
|
| __construct (\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Psr\Log\LoggerInterface $logger, \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Eav\Model\Config $eavConfig, \Magento\Framework\App\ResourceConnection $resource, \Magento\Eav\Model\EntityFactory $eavEntityFactory, \Magento\Eav\Model\ResourceModel\Helper $resourceHelper, \Magento\Framework\Validator\UniversalFactory $universalFactory, \Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot $entitySnapshot, \Magento\Framework\DB\Adapter\AdapterInterface $connection=null) |
|
| fetchItem () |
|
| __construct (\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Psr\Log\LoggerInterface $logger, \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Eav\Model\Config $eavConfig, \Magento\Framework\App\ResourceConnection $resource, \Magento\Eav\Model\EntityFactory $eavEntityFactory, \Magento\Eav\Model\ResourceModel\Helper $resourceHelper, \Magento\Framework\Validator\UniversalFactory $universalFactory, \Magento\Framework\DB\Adapter\AdapterInterface $connection=null) |
|
| getTable ($table) |
|
| setEntity ($entity) |
|
| getEntity () |
|
| getResource () |
|
| setObject ($object=null) |
|
| addItem (\Magento\Framework\DataObject $object) |
|
| getAttribute ($attributeCode) |
|
| addAttributeToFilter ($attribute, $condition=null, $joinType='inner') |
|
| addFieldToFilter ($attribute, $condition=null) |
|
| addAttributeToSort ($attribute, $dir=self::SORT_ORDER_ASC) |
|
| addAttributeToSelect ($attribute, $joinType=false) |
|
| addEntityTypeToSelect ($entityType, $prefix) |
|
| addStaticField ($field) |
|
| addExpressionAttributeToSelect ($alias, $expression, $attribute) |
|
| groupByAttribute ($attribute) |
|
| joinAttribute ($alias, $attribute, $bind, $filter=null, $joinType='inner', $storeId=null) |
|
| joinField ($alias, $table, $field, $bind, $cond=null, $joinType='inner') |
|
| joinTable ($table, $bind, $fields=null, $cond=null, $joinType='inner') |
|
| removeAttributeToSelect ($attribute=null) |
|
| setPage ($pageNum, $pageSize) |
|
| load ($printQuery=false, $logQuery=false) |
|
| getAllIds ($limit=null, $offset=null) |
|
| getAllIdsSql () |
|
| save () |
|
| delete () |
|
| importFromArray ($arr) |
|
| exportToArray () |
|
| getRowIdFieldName () |
|
| getIdFieldName () |
|
| setRowIdFieldName ($fieldName) |
|
| _loadAttributes ($printQuery=false, $logQuery=false) |
|
| setOrder ($attribute, $dir=self::SORT_ORDER_ASC) |
|
| toArray ($arrAttributes=[]) |
|
| isAttributeAdded ($attributeCode) |
|
| getLoadedIds () |
|
| clear () |
|
| removeAllItems () |
|
| removeItemByKey ($key) |
|
| getMainTable () |
|
| addFieldToSelect ($field, $alias=null) |
|
| removeFieldFromSelect ($field) |
|
| removeAllFieldsFromSelect () |
|
| __construct (EntityFactoryInterface $entityFactory, Logger $logger, FetchStrategyInterface $fetchStrategy, \Magento\Framework\DB\Adapter\AdapterInterface $connection=null) |
|
| getResource () |
|
| addBindParam ($name, $value) |
|
| getIdFieldName () |
|
| setConnection (\Magento\Framework\DB\Adapter\AdapterInterface $conn) |
|
| getSelect () |
|
| getConnection () |
|
| getSize () |
|
| getSelectCountSql () |
|
| getSelectSql ($stringMode=false) |
|
| setOrder ($field, $direction=self::SORT_ORDER_DESC) |
|
| addOrder ($field, $direction=self::SORT_ORDER_DESC) |
|
| unshiftOrder ($field, $direction=self::SORT_ORDER_DESC) |
|
| addFieldToFilter ($field, $condition=null) |
|
| distinct ($flag) |
|
| load ($printQuery=false, $logQuery=false) |
|
| loadWithFilter ($printQuery=false, $logQuery=false) |
|
| fetchItem () |
|
| getData () |
|
| resetData () |
|
| loadData ($printQuery=false, $logQuery=false) |
|
| printLogQuery ($printQuery=false, $logQuery=false, $sql=null) |
|
| addFilterToMap ($filter, $alias, $group='fields') |
|
| __clone () |
|
| joinExtensionAttribute (JoinDataInterface $join, JoinProcessorInterface $extensionAttributesJoinProcessor) |
|
| getItemObjectClass () |
|
| __sleep () |
|
| __wakeup () |
|
| __construct (EntityFactoryInterface $entityFactory) |
|
| addFilter ($field, $value, $type='and') |
|
| addFieldToFilter ($field, $condition) |
|
| getFilter ($field) |
|
| isLoaded () |
|
| getCurPage ($displacement=0) |
|
| getLastPageNumber () |
|
| getPageSize () |
|
| getSize () |
|
| getFirstItem () |
|
| getLastItem () |
|
| getItems () |
|
| getColumnValues ($colName) |
|
| getItemsByColumnValue ($column, $value) |
|
| getItemByColumnValue ($column, $value) |
|
| addItem (\Magento\Framework\DataObject $item) |
|
| getAllIds () |
|
| removeItemByKey ($key) |
|
| removeAllItems () |
|
| clear () |
|
| walk ($callback, array $args=[]) |
|
| each ($objMethod, $args=[]) |
|
| setDataToAll ($key, $value=null) |
|
| setCurPage ($page) |
|
| setPageSize ($size) |
|
| setOrder ($field, $direction=self::SORT_ORDER_DESC) |
|
| setItemObjectClass ($className) |
|
| getNewEmptyItem () |
|
| distinct ($flag) |
|
| loadData ($printQuery=false, $logQuery=false) |
|
| load ($printQuery=false, $logQuery=false) |
|
| loadWithFilter ($printQuery=false, $logQuery=false) |
|
| toXml () |
|
| toArray ($arrRequiredFields=[]) |
|
| toOptionArray () |
|
| toOptionHash () |
|
| getItemById ($idValue) |
|
| getIterator () |
|
| count () |
|
| getFlag ($flag) |
|
| setFlag ($flag, $value=null) |
|
| hasFlag ($flag) |
|
| __sleep () |
|
| __wakeup () |
|
| getSelect () |
|
|
| _joinFields ($fromDate='', $toDate='') |
|
| _addOrdersStatistics () |
|
| _afterLoad () |
|
| _construct () |
|
| _getAllIdsSelect ($limit=null, $offset=null) |
|
| beforeAddLoadedItem (\Magento\Framework\DataObject $item) |
|
| _construct () |
|
| _prepareStaticFields () |
|
| _initSelect () |
|
| _init ($model, $entityModel) |
|
| _prepareOrderExpression ($field) |
|
| _getAllIdsSelect ($limit=null, $offset=null) |
|
| _getLoadAttributesSelect ($table, $attributeIds=[]) |
|
| _addLoadAttributesSelectValues ($select, $table, $type) |
|
| _setItemAttributeValue ($valueInfo) |
|
| _getAttributeTableAlias ($attributeCode) |
|
| _getAttributeFieldName ($attributeCode) |
|
| _addAttributeJoin ($attributeCode, $joinType='inner') |
|
| getEntityPkName (\Magento\Eav\Model\Entity\AbstractEntity $entity) |
|
| _joinAttributeToSelect ($method, $attribute, $tableAlias, $condition, $fieldCode, $fieldAlias) |
|
| _getAttributeConditionSql ($attribute, $condition, $joinType='inner') |
|
| _renderOrders () |
|
| _afterLoad () |
|
| _reset () |
|
| _setIdFieldName ($fieldName) |
|
| _getItemId (\Magento\Framework\DataObject $item) |
|
| _renderFilters () |
|
| _renderFiltersBefore () |
|
| _translateCondition ($field, $condition) |
|
| _getMappedField ($field) |
|
| _getMapper () |
|
| _getConditionSql ($fieldName, $condition) |
|
| _getConditionFieldName ($fieldName) |
|
| _renderOrders () |
|
| _renderLimit () |
|
| _beforeLoad () |
|
| beforeAddLoadedItem (\Magento\Framework\DataObject $item) |
|
| _toOptionArray ($valueField=null, $labelField='name', $additional=[]) |
|
| _toOptionHash ($valueField=null, $labelField='name') |
|
| _afterLoadData () |
|
| _afterLoad () |
|
| _logQuery ($sql) |
|
| _reset () |
|
| _fetchAll (Select $select) |
|
| _initSelect () |
|
| _setIsLoaded ($flag=true) |
|
| _addItem ($item) |
|
| _getItemId (\Magento\Framework\DataObject $item) |
|
| _renderFilters () |
|
| _renderOrders () |
|
| _renderLimit () |
|
| _toOptionArray ($valueField='id', $labelField='name', $additional=[]) |
|
| _toOptionHash ($valueField='id', $labelField='name') |
|
@api
- Since
- 100.0.2
Definition at line 18 of file Collection.php.