Tkt_Search_And_Filters_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.
alltypes_options()  : mixed
Create a Select Field set for the ShortCodes Forms SiteInfo Display Options.
buttontype_options()  : mixed
Create a Select Field set for the ShortCodes Forms Select Type Display Options.
filtertype_options()  : mixed
Create a Select Field set for the ShortCodes Forms Select Type Display Options.
pagtype_options()  : mixed
Create a Select Field set for the ShortCodes Forms Select Type Display Options.
queryvars_options()  : mixed
Create a Select Field set for the ShortCodes Forms Post Query Vars Options.
selecttype_options()  : mixed
Create a Select Field set for the ShortCodes Forms Select Type 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)

alltypes_options()

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

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

buttontype_options()

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

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

filtertype_options()

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

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

pagtype_options()

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

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

queryvars_options()

Create a Select Field set for the ShortCodes Forms Post Query Vars Options.

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

selecttype_options()

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

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

Search results