System:Router:getStaticContentUrl

From Aspen Documentation

Returns the static content path if set in config, otherwise just interfaceUrl.

This URL is defined in the configuration files as static_content_path and must be set as it's false by default.

Since 1.0

Arguments

string getStaticContentUrl ()

Returns

Returns an absolute URL as a string.

Examples

This example:

$this->APP->router->getStaticContentUrl();

If we set a static content path that we use for our css and javascript (coming from another server), we'd get:

http://yourdomain.com:81/aspen