Tkt_Template_Builder_Gui

The class to generate a ShortCode GUI.

Description

Defines all type of Input fields necessary, also creates specific methods to populate eventual options and returns a fully usable GUI (jQuery dialog) for each ShortCode.

Tags
todo

Move all these procedural silly single methods to a more abstract method! The almost to all the same thing, unless one or two. Thus use arguments, not new methods.

since
1.4.0
author

Beda Schmid beda@tukutoi.com

Table of Contents

$declarations  : array<string|int, mixed>
The Configuration object.
__construct()  : mixed
Define the core functionality of the plugin.
allitemspacing_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
alllocations_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
allmenus_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
allsidebars_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
alltemplates_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
allwidgets_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

Properties

$declarations

The Configuration object.

private array<string|int, mixed> $declarations
Description

All configurations and declarations of this plugin.

Tags
since
1.0.0
access

private

Methods

__construct()

Define the core functionality of the plugin.

public __construct(array<string|int, mixed> $declarations) : mixed
Description

Set the plugin name and the plugin version that can be used throughout the plugin. Load the dependencies, define the locale, and set the hooks for the admin area and the public-facing side of the site.

Parameters
$declarations
(array<string|int, mixed>) The Configuration object.
Tags
since
1.0.0
Return
(mixed)

allitemspacing_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public allitemspacing_options() : mixed
Tags
since
1.4.0
Return
(mixed)

alllocations_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public alllocations_options() : mixed
Tags
since
1.4.0
Return
(mixed)

allmenus_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public allmenus_options() : mixed
Tags
since
1.4.0
Return
(mixed)

allsidebars_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public allsidebars_options() : mixed
Tags
since
1.4.0
Return
(mixed)

alltemplates_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public alltemplates_options() : mixed
Tags
since
1.4.0
Return
(mixed)

allwidgets_options()

Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.

public allwidgets_options() : mixed
Tags
since
1.4.0
Return
(mixed)

Search results