class ControlWrapper extends Wrapper (View source)

ControlWrapper Class

Used for building controls for dashboards.

Constants

VIZ_CLASS

Google's visualization class name.

Methods

__construct( Filter $filter, ElementId $containerId)

Builds a ControlWrapper object.

getContainerId()

Returns the container id.

from  Wrapper
unwrap()

Unwraps and returns the wrapped object.

from  Wrapper
array
jsonSerialize()

Custom serialization of the ChartWrapper.

from  Wrapper
string
toJavascript()

Returns a javascript string with the constructor for the Wrapper.

from  Wrapper

Details

at line 37
__construct( Filter $filter, ElementId $containerId)

Builds a ControlWrapper object.

Parameters

Filter $filter
ElementId $containerId

in Wrapper at line 55
ElementId getContainerId()

Returns the container id.

Return Value

ElementId

in Wrapper at line 65
Chart|Filter unwrap()

Unwraps and returns the wrapped object.

Return Value

Chart|Filter

in Wrapper at line 75
array jsonSerialize()

Custom serialization of the ChartWrapper.

Return Value

array

in Wrapper at line 97
string toJavascript()

Returns a javascript string with the constructor for the Wrapper.

Return Value

string