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

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


Serialize the sql result array into Employee objects @param array ( array ) $result result of the sql query
private function _serializeEmployees($result)
    {
        $employees = array();
        while ($record = sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC)) {
             $employees[] = $this->_serializeEmployee($record);
        }
        return $employees;
    }
private function _serializeEmployees ( $ result ) { $ employees = array ( ) ; while ( $ record = sqlsrv_fetch_array ( $ result , SQLSRV_FETCH_ASSOC ) ) { $ employees [ ] = $ this -> _serializeEmployee ( $ record ) ; } return $ employees ; }
Serialize the sql result array into Employee objects
Serialize the sql result array into Employee objects