MCI_Footnotes_Widget_ReferenceContainer extends MCI_Footnotes_WidgetBase
Registers a Widget to put the Reference Container to the widget area.
Tags
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
__construct()
Class Constructor. Registers the child Widget to WordPress.
public
__construct() : mixed
Tags
Return values
mixed —form()
Outputs the Settings of the Widget.
public
form(mixed $instance) : void
Parameters
- $instance : mixed
Tags
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
Return values
mixed —getDescription()
Returns the Description of the child widget.
protected
getDescription() : string
Tags
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
Return values
string —getName()
Returns the Public name of the Widget to be displayed in the Configuration page.
protected
getName() : string
Tags
Return values
string —getWidgetWidth()
Returns the width of the Widget. Default width is 250 pixel.
protected
getWidgetWidth() : int