Tsugi

Analytics extends AnalyticsService
in package

Old class name for LTI tools outside this repo.

Those tools call button(), graphBody(), and graphScript(). The chart markup lives on the analytics controller. The view model lives on AnalyticsService. This subclass keeps both available under the old name.

Table of Contents

Methods

button()  : mixed
graphBody()  : mixed
graphScript()  : mixed
viewModelForLink()  : object
Load lti_link_activity for a link and return the chart view model.

Methods

button()

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

graphBody()

public static graphBody() : mixed

graphScript()

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

Load lti_link_activity for a link and return the chart view model.

public static viewModelForLink(int|string $link_id) : object
Parameters
$link_id : int|string
Return values
object

        
On this page

Search results