public function getMaxRankArray(ConnectionInterface $con = null)
    {
        if ($con === null) {
            $con = Propel::getConnection(CustomerGroupTableMap::DATABASE_NAME);
        }
        // shift the objects with a position lower than the one of object
        $this->addSelectColumn('MAX(' . CustomerGroupTableMap::RANK_COL . ')');
        $stmt = $this->doSelect($con);

        return $stmt->fetchColumn();
    }
public function getMaxRankArray(ConnectionInterface $con = null)
    {
        if ($con === null) {
            $con = Propel::getConnection(CustomerGroupTableMap::DATABASE_NAME);
        }
        // shift the objects with a position lower than the one of object
        $this->addSelectColumn('MAX(' . CustomerGroupTableMap::RANK_COL . ')');
        $stmt = $this->doSelect($con);

        return $stmt->fetchColumn();
    }
public function getMaxRankArray ( ConnectionInterface $ con = null ) { if ( $ con === null ) { $ con = Propel :: getConnection ( CustomerGroupTableMap :: DATABASE_NAME ) ; } // shift the objects with a position lower than the one of object $ this -> addSelectColumn ( 'MAX(' . CustomerGroupTableMap :: RANK_COL . ')' ) ; $ stmt = $ this -> doSelect ( $ con ) ; return $ stmt -> fetchColumn ( ) ; }
Get the highest rank by a scope with a array format.

@param     ConnectionInterface optional connection

@return    integer highest position
Get the highest rank by a scope with a array format .