SproutCMS

This is the code documentation for the SproutCMS project

function absUrl()

Returns the absolute URL for a given file id, including domain.

Usage

string $FilesBackendDirectory->absUrl ( int $id );

Arguments

  1. int $id
    ID of entry in files table, or (deprecated) string: filename

Return value

  • string
    e.g. http://example.com/file/download/123