PHP Class Elementor\Element_Base

Mostrar archivo Open project: pojome/elementor

Protected Properties

Property Type Description
$_current_tab null | array Holds the current tab while render a set of controls tabs
$_edit_tools

Public Methods

Method Description
__construct ( $data = [], $args = [] )
add_child ( array $child_data, array $child_args = [] ) : Element_Base | false
add_control ( $id, $args )
add_edit_tool ( $tool_name, $tool_data, $after = null )
add_group_control ( $group_name, $args = [] )
add_render_attribute ( $element, $key = null, $value = null )
add_responsive_control ( $id, $args = [] )
after_render ( )
before_render ( )
end_controls_section ( )
end_controls_tab ( )
end_controls_tabs ( )
get_categories ( )
get_children ( )
get_class_controls ( )
get_class_name ( )
get_config ( $item = null )
get_controls ( $control_id = null )
get_data ( $item = null )
get_default_args ( $item = null )
get_edit_tools ( )
get_icon ( )
get_id ( )
get_keywords ( )
get_name ( )
get_parent ( ) : Element_Base
get_raw_data ( $with_html_content = false )
get_render_attribute_string ( $element )
get_scheme_controls ( )
get_settings ( $setting = null )
get_style_controls ( $controls = null )
get_tabs_controls ( )
get_title ( )
get_type ( )
is_control_visible ( $control, $values = null )
is_reload_preview_required ( )
print_element ( )
print_template ( )
remove_control ( $id )
set_settings ( $key, $value = null )
start_controls_section ( $section_id, $args )
start_controls_tab ( $tab_id, $args )
start_controls_tabs ( $tabs_id )

Protected Methods

Method Description
_content_template ( )
_get_child_type ( array $element_data ) : Element_Base
_get_parsed_settings ( )
_print_content ( )
_register_controls ( )
_render_settings ( )
get_default_data ( )
get_default_edit_tools ( )
render ( )

Private Methods

Method Description
_get_items ( array $haystack, string $needle = null ) : mixed
_init ( $data )
_init_children ( )
_init_controls ( )
_init_edit_tools ( )

Method Details

__construct() public method

public __construct ( $data = [], $args = [] )

_content_template() protected method

protected _content_template ( )

_get_child_type() abstract protected method

abstract protected _get_child_type ( array $element_data ) : Element_Base
$element_data array
return Element_Base

_get_parsed_settings() protected method

protected _get_parsed_settings ( )

_print_content() protected method

protected _print_content ( )

_register_controls() protected method

protected _register_controls ( )

_render_settings() protected method

protected _render_settings ( )

add_child() public method

public add_child ( array $child_data, array $child_args = [] ) : Element_Base | false
$child_data array
$child_args array
return Element_Base | false

add_control() public method

public add_control ( $id, $args )

add_edit_tool() final public static method

final public static add_edit_tool ( $tool_name, $tool_data, $after = null )

add_group_control() final public method

final public add_group_control ( $group_name, $args = [] )

add_render_attribute() public method

public add_render_attribute ( $element, $key = null, $value = null )

add_responsive_control() final public method

final public add_responsive_control ( $id, $args = [] )

after_render() public method

public after_render ( )

before_render() public method

public before_render ( )

end_controls_section() public method

end_controls_tab() public method

public end_controls_tab ( )

end_controls_tabs() public method

public end_controls_tabs ( )

get_categories() public method

public get_categories ( )

get_children() public method

public get_children ( )

get_class_controls() final public method

final public get_class_controls ( )

get_class_name() final public method

final public get_class_name ( )

get_config() public method

public get_config ( $item = null )

get_controls() final public method

final public get_controls ( $control_id = null )

get_data() public method

public get_data ( $item = null )

get_default_args() public method

public get_default_args ( $item = null )

get_default_data() protected method

protected get_default_data ( )

get_default_edit_tools() protected static method

protected static get_default_edit_tools ( )

get_edit_tools() final public static method

final public static get_edit_tools ( )

get_icon() public method

public get_icon ( )

get_id() public method

public get_id ( )

get_keywords() public method

public get_keywords ( )

get_name() abstract public method

abstract public get_name ( )

get_parent() public method

public get_parent ( ) : Element_Base
return Element_Base

get_raw_data() public method

public get_raw_data ( $with_html_content = false )

get_render_attribute_string() public method

public get_render_attribute_string ( $element )

get_scheme_controls() final public method

final public get_scheme_controls ( )

get_settings() public method

public get_settings ( $setting = null )

get_style_controls() final public method

final public get_style_controls ( $controls = null )

get_tabs_controls() final public method

final public get_tabs_controls ( )

get_title() public method

public get_title ( )

get_type() public static method

public static get_type ( )

is_control_visible() public method

public is_control_visible ( $control, $values = null )

is_reload_preview_required() public method

print_element() public method

public print_element ( )

print_template() public method

public print_template ( )

remove_control() public method

public remove_control ( $id )

render() protected method

protected render ( )

set_settings() final public method

final public set_settings ( $key, $value = null )

start_controls_section() public method

public start_controls_section ( $section_id, $args )

start_controls_tab() public method

public start_controls_tab ( $tab_id, $args )

start_controls_tabs() public method

public start_controls_tabs ( $tabs_id )

Property Details

$_current_tab protected_oe property

Holds the current tab while render a set of controls tabs
protected null|array $_current_tab
return null | array

$_edit_tools protected_oe static_oe property

protected static $_edit_tools