Robbie\SilverstripeChec\ChecExtension
Synopsis
class ChecExtension
extends SiteTreeExtension
{
- // methods
- public void contentcontrollerInit()
- public string getChecJavaScript()
Hierarchy
Extends
- SilverStripe\CMS\Model\SiteTreeExtension
Methods
public
- contentcontrollerInit() — Loads the third party JavaScript during Controller->init()
- getChecJavaScript() — Tries to fetch the inline Chec JS from cache, failing which it gets it from the URL.