Tsugi

Analytics extends Controller
in package

Base class for Lumos controllers.

Table of Contents

Constants

ROUTE  : mixed = '/analytics'

Methods

button()  : mixed
Emit a properly styled analytics button.
getAnalytics()  : mixed
graphBody()  : mixed
Chart markup for the analytics modal or page.
graphScript()  : mixed
Chart script. $json is the view-model URL the browser fetches.
routes()  : mixed

Constants

Methods

button()

Emit a properly styled analytics button.

public static button([mixed $right = false ]) : mixed

This is just the button, using the signal icon. Wrap in a span or div tag if you want to move it around.

Parameters
$right : mixed = false

graphBody()

Chart markup for the analytics modal or page.

public static graphBody() : mixed

graphScript()

Chart script. $json is the view-model URL the browser fetches.

public static graphScript(mixed $json) : mixed
Parameters
$json : mixed

        
On this page

Search results