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

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


Serialize the sql result array into Order_Details objects @param array ( array ) $result result of the sql query
private function _serializeOrderDetails($result)
    {
        $order_details = array();
        while ($record = sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC)) {        
            $order_details[] = $this->_serializeOrderDetail($record);
        }
        return $order_details;
    }
private function _serializeOrderDetails ( $ result ) { $ order_details = array ( ) ; while ( $ record = sqlsrv_fetch_array ( $ result , SQLSRV_FETCH_ASSOC ) ) { $ order_details [ ] = $ this -> _serializeOrderDetail ( $ record ) ; } return $ order_details ; }
Serialize the sql result array into Order_Details objects
Serialize the sql result array into Order_Details objects