odata/services/IDataServiceQueryProvider Implementation/NorthWind/NorthWindQueryProvider.php
/**
     * Serialize the sql result array into Order objects
     * 
     * @param array(array) $result result of the sql query
     * 
     * @return array(Object)
     */
Serialize the sql result array into Order objects

@param array(array) $result result of the sql query


Serialize the sql result array into Order objects @param array ( array ) $result result of the sql query
private function _serializeOrders($result)
    {
        $orders = array();
        while ( $record = sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC)) {
             $orders[] = $this->_serializeOrder($record);
        }
        return $orders;
    }
private function _serializeOrders ( $ result ) { $ orders = array ( ) ; while ( $ record = sqlsrv_fetch_array ( $ result , SQLSRV_FETCH_ASSOC ) ) { $ orders [ ] = $ this -> _serializeOrder ( $ record ) ; } return $ orders ; }
Serialize the sql result array into Order objects
Serialize the sql result array into Order objects