PHP Class Elementor\Controls_Manager

Exibir arquivo Open project: pojome/elementor

Public Methods

Method Description
__construct ( ) Controls_Manager constructor.
add_control_to_stack ( Element_Base $element, $control_id, $control_data )
enqueue_control_scripts ( ) : void
get_control ( $control_id ) : boolean | Control_Base
get_controls ( ) : Control_Base[]
get_controls_data ( ) : array
get_element_stack ( Element_Base $element )
get_group_controls ( ) : Group_Control_Base[]
open_stack ( Element_Base $element )
register_control ( $control_id, $class_name ) : boolean | WP_Error
register_controls ( )
remove_control_from_stack ( Element_Base $element, $control_id )
render_controls ( ) : void
unregister_control ( $control_id ) : boolean

Private Methods

Method Description
_get_available_tabs_controls ( )

Method Details

__construct() public method

Controls_Manager constructor.
Since: 1.0.0
public __construct ( )

add_control_to_stack() public method

public add_control_to_stack ( Element_Base $element, $control_id, $control_data )
$element Element_Base

enqueue_control_scripts() public method

Since: 1.0.0
public enqueue_control_scripts ( ) : void
return void

get_control() public method

Since: 1.0.0
public get_control ( $control_id ) : boolean | Control_Base
$control_id
return boolean | Control_Base

get_controls() public method

Since: 1.0.0
public get_controls ( ) : Control_Base[]
return Control_Base[]

get_controls_data() public method

Since: 1.0.0
public get_controls_data ( ) : array
return array

get_element_stack() public method

public get_element_stack ( Element_Base $element )
$element Element_Base

get_group_controls() public method

Since: 1.0.0
public get_group_controls ( ) : Group_Control_Base[]
return Group_Control_Base[]

open_stack() public method

public open_stack ( Element_Base $element )
$element Element_Base

register_control() public method

Since: 1.0.0
public register_control ( $control_id, $class_name ) : boolean | WP_Error
$control_id
$class_name
return boolean | WP_Error

register_controls() public method

Since: 1.0.0
public register_controls ( )

remove_control_from_stack() public method

public remove_control_from_stack ( Element_Base $element, $control_id )
$element Element_Base

render_controls() public method

Since: 1.0.0
public render_controls ( ) : void
return void

unregister_control() public method

Since: 1.0.0
public unregister_control ( $control_id ) : boolean
$control_id
return boolean