file Function

Returns the URL to a specified file.

Summary

ElementFunction
ReturnsString

Arguments

pathString[required] The path to the file from "/pagetype/content/files/".

Example

$this->file('images/holiday.jpg');