|
Whitebeam Template Reference Documentation
|
System Template
abspath()
Calculate an absolute local URL from a relative URL.
Syntax
string = rb.page.abspath(pathString)
Parameters
The 'abspath' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | pathString | string | | Required. A (potentially) relative URL to convert to a cononical absolute form. |
Results
The 'abspath' method returns string:
Type/Value | Range/Length | Description |
string |
  | This function returns a named attribute from an XML tag.
|
Remarks
This method can be useful in library code - stored for example in an include
file. The method takes a relative URL and converts it to an absolute URL
within the current virtual server. Note that the method does NOT check that the
referenced file actually exists.
|
|
(loadtime : 107ms) |