tbkcp_client_plugin

This class creates an admin panel for the included modules and instantiates those that were included

Summary
tbkcp_client_pluginThis class creates an admin panel for the included modules and instantiates those that were included
Functions
__constructSets the default modules, Adds default actions and theme supports, Calls the instaniate_enabled_modules function, Checks for updates
tbkcp_load_scriptsLoad in default scripts
instaniate_enabled_modulesWill initialize the classes of any of the checked off modules in the admin settings.
tbkcp_add_alertsScript to add the annoying admin warnings
get_module_alertsCompares the default modules with those already set, returns a list of missing defaults
get_config_alertsLoops throught the user set modules.
tbkcp_settingsThe form handling and form markup for including modules
remove_extensionHelper to remove extension from a file name
check_for_updatesChecks out repo /dist folder for a new deployment
tbkcp_plugin_informationReturns the plugin information

Functions

__construct

function __construct()

Sets the default modules, Adds default actions and theme supports, Calls the instaniate_enabled_modules function, Checks for updates

tbkcp_load_scripts

function tbkcp_load_scripts()

Load in default scripts

instaniate_enabled_modules

function instaniate_enabled_modules()

Will initialize the classes of any of the checked off modules in the admin settings.  The global var $moduled_modules[basename( FILE )] holds the class ref

Triggers the add_alerts function in the admin_head

tbkcp_add_alerts

function tbkcp_add_alerts()

Script to add the annoying admin warnings

get_module_alerts

function get_module_alerts()

Compares the default modules with those already set, returns a list of missing defaults

get_config_alerts

function get_config_alerts()

Loops throught the user set modules.  If those classes have the function get_configuration_errors(), return the result

tbkcp_settings

function tbkcp_settings()

The form handling and form markup for including modules

remove_extension

function remove_extension($filename)

Helper to remove extension from a file name

check_for_updates

function check_for_updates()

Checks out repo /dist folder for a new deployment

tbkcp_plugin_information

function tbkcp_plugin_information()

Returns the plugin information

function __construct()
Sets the default modules, Adds default actions and theme supports, Calls the instaniate_enabled_modules function, Checks for updates
function tbkcp_load_scripts()
Load in default scripts
function instaniate_enabled_modules()
Will initialize the classes of any of the checked off modules in the admin settings.
function tbkcp_add_alerts()
Script to add the annoying admin warnings
function get_module_alerts()
Compares the default modules with those already set, returns a list of missing defaults
function get_config_alerts()
Loops throught the user set modules.
function tbkcp_settings()
The form handling and form markup for including modules
function remove_extension($filename)
Helper to remove extension from a file name
function check_for_updates()
Checks out repo /dist folder for a new deployment
function tbkcp_plugin_information()
Returns the plugin information
Close