beautypg.com

Dwuri.isvaliduri(), Dwuri.isabsolute(), Dwuri.isrelative() – Adobe Dreamweaver API Reference CS5 User Manual

Page 280

background image

275

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

Returns
An absolute URL string. The return value is generated, as described in the following list:

If relURL is an absolute URL, no conversion occurs, and the return value is the same as relURL.

If relURL is a document-relative URL, the return value is the combination of docPath and relURL.

If relURL is a root-relative URL, the return value is the combination of siteRoot and relURL.

DWUri.isValidURI()

Availability
Dreamweaver CS5.

Description
Determines if the URI object is valid or not. The URI object is not valid until it is constructed or initialized with the
valid URI.

Arguments
None.

Returns
A Boolean value:

true

if the URI is valid.

DWUri.isAbsolute()

Availability
Dreamweaver CS5.

Description
Determines if the URI object is a fully qualified URI. The URI object is not valid until it is constructed or initialized
with the valid URI.

Arguments
None.

Returns
A Boolean value:

true

if the URI is fully qualified.

DWUri.isRelative()

Availability
Dreamweaver CS5.

Description
Determines if the URI object is a relative URI. The URI object is not valid until it is constructed or initialized with the
valid URI.