System:Router:getInterfaceUrl

From Aspen Documentation

Returns the absolute url to the current application.

Since 1.0

Arguments

string getInterfaceUrl ([string $interface = false ])

interface
The name of an interface application, if seeking a url to a different application.

Returns

Returns an absolute URL as a string.

Examples

This example:

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

Returns:

http://yourdomain.com/aspen