\MainWP\DashboardMainWP_UI_Select_Sites

Class MainWP_UI_Select_Sites

Summary

Methods
Properties
Constants
get_class_name()
select_sites_box()
select_sites_box_body()
render_select_clients()
render_create_tag_modal()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_class_name()

get_class_name() : object

Method get_class_name()

Get Class Name.

Returns

object

select_sites_box()

select_sites_box(array  $params = array()) 

Method select_sites_box()

Select sites box.

Parameters

array $params

{ An array of params for sites selection. Default empty array. @type string $type Input type, radio. @type bool $show_group Whether or not to show group, Default: true. @type bool $show_select_all Whether to show select all. @type string $class Default = ''. @type string $style Default = ''. @type array $selected_sites Selected Child Sites. @type array $selected_groups Selected Groups. @type bool $enableOfflineSites (bool) True, if offline sites is enabled. False if not. @type integer $postId Post Meta ID. @type bool $show_client (bool) True, if show clients. False if not. @type bool $enable_suspended_clients (bool) True, if enable suspended clients. False if not. @type array $selected_clients Selected Clients. }

select_sites_box_body()

select_sites_box_body(array  $params = array()) 

Method select_sites_box_body()

Select sites box Body.

Parameters

array $params

{

An array of params for sites selection. Default empty array.

@type string $type Input type, radio. @type bool $show_group Whether or not to show group, Default: true. @type bool $show_select_all Whether to show select all. @type array $selected_sites Selected Child Sites. @type array $selected_groups Selected Groups. @type bool $enableOfflineSites (bool) True, if offline sites is enabled. False if not. @type integer $postId Post Meta ID. @type bool $show_client (bool) True, if show clients. False if not. @type array $selected_clients Selected clients. @type bool $enable_suspended_clients (bool) True, if suspended clients is enabled. False if not. }

render_select_clients()

render_select_clients(  $params = array()) : void

Method render_select_clients()

@param array $params {

An array of params for clients selection. Default empty array.

Parameters

$params

render_create_tag_modal()

render_create_tag_modal() 

Method render_create_tag_modal()

Renders the Create Tag modal.