/** * Constructor * */ public function __construct() { if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_easyslider")) { include_once JPATH_ROOT . '/administrator/components/com_easyslider/classes/jsn.easyslider.render.php'; } parent::__construct(); }
/** * Constructor * */ public function __construct() { if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_imageshow")) { require_once JPATH_ADMINISTRATOR . '/components/com_imageshow/classes/jsn_is_factory.php'; } parent::__construct(); }
/** * Constructor * * @return type */ public function __construct() { if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_uniform")) { include_once JPATH_ROOT . '/administrator/components/com_uniform/helpers/uniform.php'; } parent::__construct(); }
/** * Method to call neccessary functions for initialyzing the backend */ public function init_element() { $this->element_items(); $this->element_items_extra(); $this->shortcode_data(); // do_action( 'wr_pb_element_init' ); parent::__construct(); // enqueue assets for current element in backend (modal setting iframe) // if ( WR_Pb_Helper_Functions::is_modal_of_element( $this->config['shortcode'] ) ) { // add_action( 'pb_admin_enqueue_scripts', array( &$this, 'enqueue_assets_modal' ) ); // } // enqueue assets for current element in backend (preview iframe) // if ( WR_Pb_Helper_Functions::is_preview() ) { // add_action( 'pb_admin_enqueue_scripts', array( &$this, 'enqueue_assets_frontend' ) ); // } }
/** * Constructor * * @return type */ public function __construct() { parent::__construct(); }
/** * DEFINE html structure of shortcode in Page Builder area * * @param type $content * @param type $shortcode_data: string stores params (which is modified default value) of shortcode * @param type $el_title: Element Title used to identifying elements in Pagebuilder * Ex: param-tag=h6¶m-text=Your+heading¶m-font=custom¶m-font-family=arial * * @return type */ public function element_in_pgbldr($content = '', $shortcode_data = '', $el_title = '') { $this->config['sub_element'] = true; return parent::element_in_pgbldr($content, $shortcode_data, $el_title); }