/**
  *calls external classes that are needed for the script to operate
  **/
 public function call_classes()
 {
     //create the meta boxes
     new MetaBoxBuilder($this->paths['configPath']);
     // save button
     $this->builderTemplate = new AviaSaveBuilderTemplate($this);
     //activate helper function hooks
     AviaHelper::backend();
     //create tiny mce button
     $tiny = array('id' => 'avia_builder_button', 'title' => __('Insert Theme Shortcode', 'avia_framework'), 'image' => $this->paths['imagesURL'] . 'tiny-button.png', 'js_plugin_file' => $this->paths['assetsURL'] . 'js/avia-tinymce-buttons.js', 'shortcodes' => array_map(array($this, 'fetch_configs'), $this->shortcode_class));
     //if we are using tinymce 4 or higher change the javascript file
     global $tinymce_version;
     if (version_compare($tinymce_version[0], 4, ">=")) {
         $tiny['js_plugin_file'] = $this->paths['assetsURL'] . 'js/avia-tinymce-buttons-4.js';
     }
     new avia_tinyMCE_button($tiny);
     //activate iconfont manager
     new avia_font_manager();
     //fetch all Wordpress pointers that help the user to use the builder
     include $this->paths['configPath'] . "pointers.php";
     $myPointers = new AviaPointer($pointers);
 }
 /**
  *calls external classes that are needed for the script to operate
  **/
 public function call_classes()
 {
     //create the meta boxes
     new MetaBoxBuilder($this->paths['configPath']);
     // save button
     $this->builderTemplate = new AviaSaveBuilderTemplate($this);
     //activate helper function hooks
     AviaHelper::backend();
     //create tiny mce button
     $tiny = array('id' => 'avia_builder_button', 'title' => __('Insert Shortcode', 'avia_framework'), 'image' => $this->paths['imagesURL'] . 'tiny-button.png', 'js_plugin_file' => $this->paths['assetsURL'] . 'js/avia-tinymce-buttons.js', 'shortcodes' => array_map(array($this, 'fetch_configs'), $this->shortcode_class));
     new avia_tinyMCE_button($tiny);
     //fetch all Wordpress pointers that help the user to use the builder
     include $this->paths['configPath'] . "pointers.php";
     $myPointers = new AviaPointer($pointers);
 }