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');