示例#1
0
 function porto_vc_commons($asset = '')
 {
     switch ($asset) {
         case 'accordion':
             return Porto_VcSharedLibrary::getAccordionType();
         case 'accordion_size':
             return Porto_VcSharedLibrary::getAccordionSize();
         case 'toggle_type':
             return Porto_VcSharedLibrary::getToggleType();
         case 'toggle_size':
             return Porto_VcSharedLibrary::getToggleSize();
         case 'align':
             return Porto_VcSharedLibrary::getTextAlign();
         case 'tabs':
             return Porto_VcSharedLibrary::getTabsPositions();
         case 'tabs_type':
             return Porto_VcSharedLibrary::getTabsType();
         case 'tabs_icon_style':
             return Porto_VcSharedLibrary::getTabsIconStyle();
         case 'tabs_icon_effect':
             return Porto_VcSharedLibrary::getTabsIconEffect();
         case 'tour':
             return Porto_VcSharedLibrary::getTourPositions();
         case 'tour_type':
             return Porto_VcSharedLibrary::getTourType();
         case 'separator':
             return Porto_VcSharedLibrary::getSeparator();
         case 'separator_type':
             return Porto_VcSharedLibrary::getSeparatorType();
         case 'separator_style':
             return Porto_VcSharedLibrary::getSeparatorStyle();
         case 'separator_icon_style':
             return Porto_VcSharedLibrary::getSeparatorIconStyle();
         case 'separator_icon_size':
             return Porto_VcSharedLibrary::getSeparatorIconSize();
         case 'separator_icon_pos':
             return Porto_VcSharedLibrary::getSeparatorIconPosition();
         case 'separator_elements':
             return Porto_VcSharedLibrary::getSeparatorElements();
         case 'blog_layout':
             return Porto_VcSharedLibrary::getBlogLayout();
         case 'blog_grid_columns':
             return Porto_VcSharedLibrary::getBlogGridColumns();
         case 'portfolio_layout':
             return Porto_VcSharedLibrary::getPortfolioLayout();
         case 'portfolio_grid_columns':
             return Porto_VcSharedLibrary::getPortfolioGridColumns();
         case 'portfolio_grid_view':
             return Porto_VcSharedLibrary::getPortfolioGridView();
         case 'products_view_mode':
             return Porto_VcSharedLibrary::getProductsViewMode();
         case 'products_columns':
             return Porto_VcSharedLibrary::getProductsColumns();
         case 'products_column_width':
             return Porto_VcSharedLibrary::getProductsColumnWidth();
         case 'products_addlinks_pos':
             return Porto_VcSharedLibrary::getProductsAddlinksPos();
         case 'product_view_mode':
             return Porto_VcSharedLibrary::getProductViewMode();
         case 'content_boxes_bg_type':
             return Porto_VcSharedLibrary::getContentBoxesBgType();
         case 'content_boxes_style':
             return Porto_VcSharedLibrary::getContentBoxesStyle();
         case 'content_box_effect':
             return Porto_VcSharedLibrary::getContentBoxEffect();
         case 'colors':
             return Porto_VcSharedLibrary::getColors();
         case 'testimonial_styles':
             return Porto_VcSharedLibrary::getTestimonialStyles();
         case 'contextual':
             return Porto_VcSharedLibrary::getContextual();
         case 'progress_border_radius':
             return Porto_VcSharedLibrary::getProgressBorderRadius();
         case 'progress_size':
             return Porto_VcSharedLibrary::getProgressSize();
         case 'circular_view_type':
             return Porto_VcSharedLibrary::getCircularViewType();
         case 'circular_view_size':
             return Porto_VcSharedLibrary::getCircularViewSize();
         case 'section_skin':
             return Porto_VcSharedLibrary::getSectionSkin();
         case 'section_color_scale':
             return Porto_VcSharedLibrary::getSectionColorScale();
         case 'section_text_color':
             return Porto_VcSharedLibrary::getSectionTextColor();
         case 'position':
             return Porto_VcSharedLibrary::getPosition();
         case 'size':
             return Porto_VcSharedLibrary::getSize();
         case 'trigger':
             return Porto_VcSharedLibrary::getTrigger();
         case 'heading_border_type':
             return Porto_VcSharedLibrary::getHeadingBorderType();
         case 'heading_border_size':
             return Porto_VcSharedLibrary::getHeadingBorderSize();
         case 'bootstrap_columns':
             return Porto_VcSharedLibrary::getBootstrapColumns();
         case 'price_boxes_style':
             return Porto_VcSharedLibrary::getPriceBoxesStyle();
         case 'price_boxes_size':
             return Porto_VcSharedLibrary::getPriceBoxesSize();
         case 'sort_style':
             return Porto_VcSharedLibrary::getSortStyle();
         case 'sort_by':
             return Porto_VcSharedLibrary::getSortBy();
         case 'grid_columns':
             return Porto_VcSharedLibrary::getGridColumns();
         case 'preview_time':
             return Porto_VcSharedLibrary::getPreviewTime();
         case 'preview_position':
             return Porto_VcSharedLibrary::getPreviewPosition();
         default:
             return array();
     }
 }