src/Repositories/EavAttributeOptionValueRepository.php
/**
     * Load's and return's the available EAV attribute option values by the passed entity type and store ID.
     *
     * @param integer $entityTypeId The entity type ID of the attribute option values to return
     * @param integer $storeId      The store ID of the attribute option values to return
     *
     * @return array The EAV attribute option values
     */
Load's and return's the available EAV attribute option values by the passed entity type and store ID.
@param integer $entityTypeId The entity type ID of the attribute option values to return
@param integer $storeId      The store ID of the attribute option values to return

@return array The EAV attribute option values
Load ' s and return ' s the available EAV attribute option values by the passed entity type and store ID . @param integer $entityTypeId The entity type ID of the attribute option values to return @param integer $storeId The store ID of the attribute option values to return @return array The EAV attribute option values
public function findAllByEntityTypeIdAndStoreId($entityTypeId, $storeId)
    {
        $params = array(
            MemberNames::ENTITY_TYPE_ID => $entityTypeId,
            MemberNames::STORE_ID       => $storeId,
        );
        $this->eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt->execute($params);
        while ($record = $this->eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt->fetch(\PDO::FETCH_ASSOC)) {
            yield $record;
        }
    }
public function findAllByEntityTypeIdAndStoreId ( $ entityTypeId , $ storeId ) { $ params = array ( MemberNames :: ENTITY_TYPE_ID => $ entityTypeId , MemberNames :: STORE_ID => $ storeId , ) ; $ this -> eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt -> execute ( $ params ) ; while ( $ record = $ this -> eavAttributeOptionValuesByEntityTypeIdAndStoreIdStmt -> fetch ( \ PDO :: FETCH_ASSOC ) ) { yield $ record ; } }
Load's and return's the available EAV attribute option values by the passed entity type and store ID.
Load ' s and return ' s the available EAV attribute option values by the passed entity type and store ID .
// the parameters of the EAV attribute option to load // load and return all available EAV attribute option values by the passed params // fetch the values and return them