Dwuri.getcommonparent(), Dwuri.makeabsolute() – Adobe Dreamweaver API Reference CS5 User Manual
Page 291
286
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
The URI to compare against. Specify a valid string or a
DWUri
object.
Returns
Integer that specifies the manifest value constant. The possible constants are:
•
DWUri.NOT_REALTED
•
DWUri.CHILD
•
DWUri.EQUAL
•
DWUri.PARENT
DWUri.getCommonParent()
Availability
Dreamweaver CS5.
Description
Determines the common parent between the 2 URIs.
If there is not a common parent, this function will return an empty DWUri object that should be validated by invoking
the “
Arguments
other
The URI to compare against. Specify a valid string or a
DWUri
object.
Returns
Object
A
DWUri
object that represents the common parent.
DWUri.makeAbsolute()
Availability
Dreamweaver CS5.
Description
Constructs a fully qualified URI by taking the URI passed as an argument.
Arguments
other
Specify a valid string or a
DWUri
object.
Returns
A Boolean:
true
if the operation succeeds.