theme Function

Returns the URL to a specified theme file of the current theme.

Summary

ElementFunction
ReturnsString

Arguments

pathString[required] The path to the theme file from "/pagetype/themes/%THEME%/".

Example

$this->theme('files/bg.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