public function findOneByAttributeIdAndHighestSortOrder($attributeId)
    {

        // load and return the EAV attribute option with the passed parameters
        $this->attributeOptionByAttributeIdOrderBySortOrderDescStmt->execute(array(MemberNames::ATTRIBUTE_ID => $attributeId));
        return $this->attributeOptionByAttributeIdOrderBySortOrderDescStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByAttributeIdAndHighestSortOrder($attributeId)
    {

        // load and return the EAV attribute option with the passed parameters
        $this->attributeOptionByAttributeIdOrderBySortOrderDescStmt->execute(array(MemberNames::ATTRIBUTE_ID => $attributeId));
        return $this->attributeOptionByAttributeIdOrderBySortOrderDescStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByAttributeIdAndHighestSortOrder ( $ attributeId ) { // load and return the EAV attribute option with the passed parameters $ this -> attributeOptionByAttributeIdOrderBySortOrderDescStmt -> execute ( array ( MemberNames :: ATTRIBUTE_ID => $ attributeId ) ) ; return $ this -> attributeOptionByAttributeIdOrderBySortOrderDescStmt -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Returns the EAV attribute option of attribute with the passed ID with the highest sort order.

@param integer $attributeId The ID of the attribute to return the EAV option with the highest sort order for

@return array|null The EAV attribute option with the highest sort order
Returns the EAV attribute option of attribute with the passed ID with the highest sort order .