AntonyThorpe\Rollbar\RollbarPageExtension
Extend Page class to provide variables to Rollbar.ss
Synopsis
class RollbarPageExtension
extends Extension
{
- // methods
- public boolean getShowRollbar()
- public void getRollbarClientToken()
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- getRollbarClientToken() — Provide the site id to the template
- getShowRollbar() — Show/no-show of the Rollbar javascript file as set in your config