ReportHandler
This object is in charge of rendering skin templates and also executing processing commands. The custom tag creates this object and prepares it for usage, so do not worry about it, just know how to use it. The following are the variable compositions this object has and therefore you can use them in your skin templates:
Variable | Type | Description |
cacheBox |
| A reference to the running CacheBox cache factory |
baseURL | string | The baseURL attribute passed via the tag configuration |
sking | string | The skin attribute passed via the tag configuration |
skinPath | string | The non-expanded path to the skin in use. e.g. |
attributes | struct | A reference to the attributes structure passed via the tag |
caller | template | A reference to the caller page of the custom tag. |
This tag also has the following methods that you might be interested in:
Return Type | Method |
void |
|
any |
|
any |
|
any |
|
any |
|
For example, here is a snippet of the CachePanel.cfm template to designate where the cache report for a specific cache provider will be rendered by default:
Since no cacheName argument is provided, it will use the default value of default. Here is a snippet of the cache report template of where it designates the content report to be rendered. It also verifies that the cache provider has reporting enabled and uses a custom attribute called contentReport.