class Wrapper implements JsonSerializable (View source)

Wrapper Parent Class

The control and chart wrappers extend this for common methods.

Methods

__construct( ElementId $containerId)

Builds a new Wrapper object.

getContainerId()

Returns the container id.

unwrap()

Unwraps and returns the wrapped object.

array
jsonSerialize()

Custom serialization of the ChartWrapper.

string
toJavascript()

Returns a javascript string with the constructor for the Wrapper.

Details

at line 45
__construct( ElementId $containerId)

Builds a new Wrapper object.

Parameters

ElementId $containerId

at line 55
ElementId getContainerId()

Returns the container id.

Return Value

ElementId

at line 65
Chart|Filter unwrap()

Unwraps and returns the wrapped object.

Return Value

Chart|Filter

at line 75
array jsonSerialize()

Custom serialization of the ChartWrapper.

Return Value

array

at line 97
string toJavascript()

Returns a javascript string with the constructor for the Wrapper.

Return Value

string