public function _mergeAfterFetchWithSelectedKeys($result, $selectedKeys)
    {
        $this->_mergeAfterFetch($result, $selectedKeys ? empty($selectedKeys) : true);
        foreach ($selectedKeys as $key)
        {
            $this->dataAvailability[$key] = true;
        }
    }
public function _mergeAfterFetchWithSelectedKeys($result, $selectedKeys)
    {
        $this->_mergeAfterFetch($result, $selectedKeys ? empty($selectedKeys) : true);
        foreach ($selectedKeys as $key)
        {
            $this->dataAvailability[$key] = true;
        }
    }
public function _mergeAfterFetchWithSelectedKeys ( $ result , $ selectedKeys ) { $ this -> _mergeAfterFetch ( $ result , $ selectedKeys ? empty ( $ selectedKeys ) : true ) ; foreach ( $ selectedKeys as $ key ) { $ this -> dataAvailability [ $ key ] = true ; } }
Merges data received from the server with a given selected keys.

@param array $result Data retrieved from the server.
@param array $selectedKeys Keys to be fetched. Null or empty means all
data will be fetched.
@return null
@ignore
Merges data received from the server with a given selected keys .