public static function map()
 {
     $shortcodes = Vc_Automap_Model::findAll();
     foreach ($shortcodes as $shortcode) {
         vc_map(array("name" => $shortcode->name, "base" => $shortcode->tag, "category" => vc_atm_build_categories_array($shortcode->category), "description" => $shortcode->description, "params" => vc_atm_build_params_array($shortcode->params), "show_settings_on_create" => !empty($shortcode->params), "atm" => true, "icon" => 'icon-wpb-atm'));
     }
 }
 /**
  *
  */
 public static function map()
 {
     $shortcodes = Vc_Automap_Model::findAll();
     foreach ($shortcodes as $shortcode) {
         vc_map(array('name' => $shortcode->name, 'base' => $shortcode->tag, 'category' => vc_atm_build_categories_array($shortcode->category), 'description' => $shortcode->description, 'params' => vc_atm_build_params_array($shortcode->params), 'show_settings_on_create' => !empty($shortcode->params), 'atm' => true, 'icon' => 'icon-wpb-atm'));
     }
 }