Пример #1
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_easyslider")) {
         include_once JPATH_ROOT . '/administrator/components/com_easyslider/classes/jsn.easyslider.render.php';
     }
     parent::__construct();
 }
Пример #2
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_imageshow")) {
         require_once JPATH_ADMINISTRATOR . '/components/com_imageshow/classes/jsn_is_factory.php';
     }
     parent::__construct();
 }
Пример #3
0
 /**
  * Constructor
  *
  * @return type
  */
 public function __construct()
 {
     if (JSNPagebuilderHelpersPagebuilder::checkComponentEnabled("com_uniform")) {
         include_once JPATH_ROOT . '/administrator/components/com_uniform/helpers/uniform.php';
     }
     parent::__construct();
 }
Пример #4
0
 /**
  * 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' ) );
     //		}
 }
Пример #5
0
 /**
  * Constructor
  *
  * @return type
  */
 public function __construct()
 {
     parent::__construct();
 }
Пример #6
0
 /**
  * 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&param-text=Your+heading&param-font=custom&param-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);
 }