beautypg.com

Dwuri.setquerybyobject(), Dwuri.getrelation() – Adobe Dreamweaver API Reference CS5 User Manual

Page 290

background image

285

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

Description
Retrieves the query property object of the URI object.

Changes to the property map are not reflected in the URI object until you invoke the

DWUri.setQueryByObject()

on page 285 function.

Arguments
None.

Returns
Object

The property map of the URI.

DWUri.setQueryByObject()

Availability
Dreamweaver CS5.

Description
Replaces the entire property map of the URI object with the specified map.

For example,

function main{

var referrer = new Object;
referrer.page = "index.html";
referrer.user = "jon";
DWUri uri = new DWUri;
uri.setQueryByObject ( referrer );

}

Arguments
objectMap

The property map of the URI.

Returns
None.

DWUri.getRelation()

Availability
Dreamweaver CS5.

Description
Determines the relationship between 2 URIs.

Arguments
other