public function findOneByAttributeIdAndAttributeSetId($attributeId, $attributeSetId)
    {

        // initialize the params
        $params = array(
            MemberNames::ATTRIBUTE_ID       => $attributeId,
            MemberNames::ATTRIBUTE_SET_ID   => $attributeSetId
        );

        // load and return the EAV entity attribute with the passed params
        $this->entityAttributeByAttributeIdAndAttributeSetIdStmt->execute($params);
        return $this->entityAttributeByAttributeIdAndAttributeSetIdStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByAttributeIdAndAttributeSetId($attributeId, $attributeSetId)
    {

        // initialize the params
        $params = array(
            MemberNames::ATTRIBUTE_ID       => $attributeId,
            MemberNames::ATTRIBUTE_SET_ID   => $attributeSetId
        );

        // load and return the EAV entity attribute with the passed params
        $this->entityAttributeByAttributeIdAndAttributeSetIdStmt->execute($params);
        return $this->entityAttributeByAttributeIdAndAttributeSetIdStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByAttributeIdAndAttributeSetId ( $ attributeId , $ attributeSetId ) { // initialize the params $ params = array ( MemberNames :: ATTRIBUTE_ID => $ attributeId , MemberNames :: ATTRIBUTE_SET_ID => $ attributeSetId ) ; // load and return the EAV entity attribute with the passed params $ this -> entityAttributeByAttributeIdAndAttributeSetIdStmt -> execute ( $ params ) ; return $ this -> entityAttributeByAttributeIdAndAttributeSetIdStmt -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Return's the EAV entity attribute with the passed attribute + attribute set ID.

@param integer $attributeId    The ID of the EAV entity attribute's attribute to return
@param integer $attributeSetId The ID of the EAV entity attribute's attribute set to return

@return array The EAV entity attribute
Return s the EAV entity attribute with the passed attribute + attribute set ID .