MagnifyingGlass
class MagnifyingGlass extends ConfigObject (View source)
Properties
bool | $enable | Enabled state of the magnifying glass. | |
int | $zoomFactor | Zoom factor of the magnifying glass. |
Methods
Builds the MagnifyingGlass object.
Returns an array representation of the object.
Same as toArray, but without the class name as a key to being multi-dimension.
The zoom factor of the magnifying glass.
Details
at line 52
mixed
__construct(
bool $zoomFactor = 5)
Builds the MagnifyingGlass object.
If created with no parameter, it defaults to enabled with a zoom factor of 5. Passing a number in upon creation, then the zoomFactor will be set.
in
ConfigObject at line 93
array
toArray(
string $keyName = null)
Returns an array representation of the object.
If passed a label, then the array will be returned with the label as the key.
Called with no label returns an array with the classname as the key.
in
ConfigObject at line 115
array
getValues()
Same as toArray, but without the class name as a key to being multi-dimension.
at line 65
MagnifyingGlass
zoomFactor(
int $zoomFactor)
The zoom factor of the magnifying glass.