| 1 |
<?php |
| 2 |
|
| 3 |
class Themify_Builder_Component_Base {//deprecated |
| 4 |
|
| 5 |
public static $disable_inline_edit = false;//deprecated use Themify_Builder_Component_Module |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
public static function parse_animation_effect($settings, array $attr = array()) {//deprecated use instead Themify_Builder_Component_Module::parse_animation_effect |
| 10 |
return Themify_Builder_Component_Module::parse_animation_effect($settings,$attr); |
| 11 |
} |
| 12 |
|
| 13 |
|
| 14 |
public static function sticky_element_props(array $props,array $fields_args) {//deprecated use instead Themify_Builder_Component_Module::parse_animation_effect |
| 15 |
return Themify_Builder_Component_Module::sticky_element_props($props, $fields_args); |
| 16 |
} |
| 17 |
|
| 18 |
/** |
| 19 |
* @deprecated |
| 20 |
*/ |
| 21 |
public static function get_element_attributes($props) { |
| 22 |
return themify_get_element_attributes($props); |
| 23 |
} |
| 24 |
|
| 25 |
/** |
| 26 |
* Retrieve builder templates |
| 27 |
* @param $template_name |
| 28 |
* @param array $args |
| 29 |
* @param string $template_path |
| 30 |
* @param string $default_path |
| 31 |
* @param bool $echo |
| 32 |
* @return string|VOID |
| 33 |
*/ |
| 34 |
public static function retrieve_template($template_name, $args = array(), $template_path = '', $default_path = '', $echo = true) { |
| 35 |
return Themify_Builder_Component_Module::retrieve_template($template_name, $args, $template_path, $default_path, $echo); |
| 36 |
} |
| 37 |
|
| 38 |
/** |
| 39 |
* Get template builder |
| 40 |
* @param $template_name |
| 41 |
* @param array $args |
| 42 |
* @param string $template_path |
| 43 |
* @param string $default_path |
| 44 |
*/ |
| 45 |
public static function get_template($template_name, $args = array(), $template_path = '', $default_path = '') { |
| 46 |
Themify_Builder_Component_Module::get_template($template_name, $args, $template_path, $default_path); |
| 47 |
} |
| 48 |
|
| 49 |
/** |
| 50 |
* Locate a template and return the path for inclusion. |
| 51 |
* |
| 52 |
* This is the load order: |
| 53 |
* |
| 54 |
* yourtheme / $template_path / $template_name |
| 55 |
* $default_path / $template_name |
| 56 |
*/ |
| 57 |
public static function locate_template($template_name, $template_path = '', $default_path = '') { |
| 58 |
return Themify_Builder_Component_Module::locate_template($template_name, $template_path, $default_path); |
| 59 |
} |
| 60 |
|
| 61 |
/** |
| 62 |
* Deprecated |
| 63 |
*/ |
| 64 |
public static function get_paged_query() { |
| 65 |
return Themify_Builder_Component_Module::get_paged_query(); |
| 66 |
} |
| 67 |
|
| 68 |
/** |
| 69 |
* Deprecated |
| 70 |
*/ |
| 71 |
public static function get_param_value(string $string) { |
| 72 |
return Themify_Builder_Component_Module::get_param_value( $string ); |
| 73 |
} |
| 74 |
|
| 75 |
/** |
| 76 |
* Deprecated |
| 77 |
*/ |
| 78 |
public static function add_inline_edit_fields($name, $condition = true, $hasEditor = false, $repeat = false, $index = -1, $echo = true) { |
| 79 |
return ''; |
| 80 |
} |
| 81 |
|
| 82 |
} |
| 83 |
|