Documentation

MCI_Footnotes_Widget_ReferenceContainer extends MCI_Footnotes_WidgetBase

Registers a Widget to put the Reference Container to the widget area.

Tags
author

Stefan Herndler

since
1.5.0

Table of Contents

__construct()  : mixed
Class Constructor. Registers the child Widget to WordPress.
form()  : void
Outputs the Settings of the Widget.
widget()  : mixed
Outputs the Content of the Widget.
getDescription()  : string
Returns the Description of the child widget.
getID()  : string
Returns an unique ID as string used for the Widget Base ID.
getName()  : string
Returns the Public name of the Widget to be displayed in the Configuration page.
getWidgetWidth()  : int
Returns the width of the Widget. Default width is 250 pixel.

Methods

form()

Outputs the Settings of the Widget.

public form(mixed $instance) : void
Parameters
$instance : mixed
Tags
author

Stefan Herndler

since
1.5.0
Return values
void

Edit: curly quotes 2.2.0 2020-12-12T2130+0100

widget()

Outputs the Content of the Widget.

public widget(mixed $args, mixed $instance) : mixed
Parameters
$args : mixed
$instance : mixed
Tags
author

Stefan Herndler

since
1.5.0
Return values
mixed

getDescription()

Returns the Description of the child widget.

protected getDescription() : string
Tags
author

Stefan Herndler

since
1.5.0
Return values
string

Edit: curly quotes 2.2.0 2020-12-12T2130+0100

getID()

Returns an unique ID as string used for the Widget Base ID.

protected getID() : string
Tags
author

Stefan Herndler

since
1.5.0
Return values
string

getName()

Returns the Public name of the Widget to be displayed in the Configuration page.

protected getName() : string
Tags
author

Stefan Herndler

since
1.5.0
Return values
string

getWidgetWidth()

Returns the width of the Widget. Default width is 250 pixel.

protected getWidgetWidth() : int
Tags
author

Stefan Herndler

since
1.5.0
Return values
int

Search results