src/Repositories/EavAttributeSetRepository.php
/**
     * Return's the attribute sets for the passed entity type ID, whereas the array
     * is prepared with the attribute set names as keys.
     *
     * @param mixed $entityTypeId The entity type ID to return the attribute sets for
     *
     * @return array|boolean The attribute sets for the passed entity type ID
     */
Return's the attribute sets for the passed entity type ID, whereas the array
is prepared with the attribute set names as keys.

@param mixed $entityTypeId The entity type ID to return the attribute sets for

@return array|boolean The attribute sets for the passed entity type ID
Return ' s the attribute sets for the passed entity type ID whereas the array is prepared with the attribute set names as keys . @param mixed $entityTypeId The entity type ID to return the attribute sets for @return array|boolean The attribute sets for the passed entity type ID
public function findAllByEntityTypeId($entityTypeId)
    {
        $eavAttributeSets = array();
        $this->eavAttributeSetsByEntityTypeIdStmt->execute(array($entityTypeId));
        $availableEavAttributeSets = $this->eavAttributeSetsByEntityTypeIdStmt->fetchAll(\PDO::FETCH_ASSOC);
        foreach ($availableEavAttributeSets as $eavAttributeSet) {
            $eavAttributeSets[$eavAttributeSet[MemberNames::ATTRIBUTE_SET_NAME]] = $eavAttributeSet;
        }
        return $eavAttributeSets;
    }
public function findAllByEntityTypeId ( $ entityTypeId ) { $ eavAttributeSets = array ( ) ; $ this -> eavAttributeSetsByEntityTypeIdStmt -> execute ( array ( $ entityTypeId ) ) ; $ availableEavAttributeSets = $ this -> eavAttributeSetsByEntityTypeIdStmt -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; foreach ( $ availableEavAttributeSets as $ eavAttributeSet ) { $ eavAttributeSets [ $ eavAttributeSet [ MemberNames :: ATTRIBUTE_SET_NAME ] ] = $ eavAttributeSet ; } return $ eavAttributeSets ; }
Return's the attribute sets for the passed entity type ID, whereas the array
 is prepared with the attribute set names as keys.
Return ' s the attribute sets for the passed entity type ID whereas the array is prepared with the attribute set names as keys .
// initialize the array for the attribute sets // load the attributes // load the available EAV attribute sets // prepare the array with the attribute set names as keys // return the array with the attribute sets