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');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php