Ejemplo n.º 1
0
 function porto_vc_commons($asset = '')
 {
     switch ($asset) {
         case 'accordion':
             return Porto_VcSharedLibrary::getAccordionType();
             break;
         case 'align':
             return Porto_VcSharedLibrary::getTextAlign();
             break;
         case 'tabs':
             return Porto_VcSharedLibrary::getTabPositions();
             break;
         case 'tour':
             return Porto_VcSharedLibrary::getTourPositions();
             break;
         case 'separator':
             return Porto_VcSharedLibrary::getSeparator();
             break;
         case 'blog_layout':
             return Porto_VcSharedLibrary::getBlogLayout();
             break;
         case 'blog_grid_columns':
             return Porto_VcSharedLibrary::getBlogGridColumns();
             break;
         case 'portfolio_layout':
             return Porto_VcSharedLibrary::getPortfolioLayout();
             break;
         case 'portfolio_grid_columns':
             return Porto_VcSharedLibrary::getPortfolioGridColumns();
             break;
         case 'portfolio_grid_view':
             return Porto_VcSharedLibrary::getPortfolioGridView();
             break;
         case 'products_view_mode':
             return Porto_VcSharedLibrary::getProductsViewMode();
             break;
         case 'products_columns':
             return Porto_VcSharedLibrary::getProductsColumns();
             break;
         case 'products_column_width':
             return Porto_VcSharedLibrary::getProductsColumnWidth();
             break;
         case 'products_addlinks_pos':
             return Porto_VcSharedLibrary::getProductsAddlinksPos();
             break;
         case 'product_view_mode':
             return Porto_VcSharedLibrary::getProductViewMode();
             break;
         default:
             return array();
             break;
     }
 }