当前位置: 首页>>代码示例>>PHP>>正文


PHP mslib_fe::tep_get_all_get_params方法代码示例

本文整理汇总了PHP中mslib_fe::tep_get_all_get_params方法的典型用法代码示例。如果您正苦于以下问题:PHP mslib_fe::tep_get_all_get_params方法的具体用法?PHP mslib_fe::tep_get_all_get_params怎么用?PHP mslib_fe::tep_get_all_get_params使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mslib_fe的用法示例。


在下文中一共展示了mslib_fe::tep_get_all_get_params方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: floor

            $tmp .= '<li><div class="dyna_button"><span>' . $x . '</span></div></li>';
        } else {
            $tmp .= '<li><div class="dyna_button"><a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . ($x - 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $x . '</a></div></li>';
        }
    }
    $tmp .= '</ul>
</li>';
    $tmp .= '<li class="pagenav_next"><div class="dyna_button">';
    if (($p + 1) * $limit_per_page < $pageset['total_rows']) {
        $tmp .= '<a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . ($p + 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $this->pi_getLL('next') . '</a>';
    } else {
        $tmp .= '<span>' . $this->pi_getLL('next') . '</span>';
    }
    $tmp .= '</div></li>';
    $tmp .= '<li class="pagenav_last"><div class="dyna_button">';
    if (($p + 1) * $limit_per_page < $pageset['total_rows']) {
        $times = $pageset['total_rows'] / $limit_per_page;
        $lastpage = floor($times);
        if ($lastpage == $times) {
            $lastpage--;
        }
        $tmp .= '<a class="ajax_link pagination_button" href="' . mslib_fe::typolink('', 'p=' . $lastpage . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache')), 1) . '">' . $this->pi_getLL('last') . '</a>';
    } else {
        $tmp .= '<span>' . $this->pi_getLL('last') . '</span>';
    }
    $tmp .= '</div></li>';
    $tmp .= '</ul>
</div>
';
    $content .= $tmp;
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:products_listing_pagination_with_number.php

示例2: array

    } else {
        $customer_name = $order['billing_name'];
    }
    $markerArray = array();
    $markerArray['ROW_TYPE'] = $tr_type;
    $markerArray['CUSTOMER_NAME'] = $customer_name;
    $markerArray['CUSTOMER_NAME_LINK'] = mslib_fe::typolink($this->shop_pid . ',2003', '&tx_multishop_pi1[page_section]=edit_customer&tx_multishop_pi1[cid]=' . $order['customer_id'] . '&action=edit_customer', 1);
    $markerArray['IP_ADDRESS'] = $order['ip_address'];
    $markerArray['ORDERS_ID'] = $order['orders_id'];
    $markerArray['USER_AGENT'] = $order['user_agent'];
    // custom page hook that can be controlled by third-party plugin eof
    $orderItem .= $this->cObj->substituteMarkerArray($subparts['useragents_listing'], $markerArray, '###|###');
}
$actions = array();
$formFields = array();
$query_string = mslib_fe::tep_get_all_get_params(array('tx_multishop_pi1[action]', 'tx_multishop_pi1[order_by]', 'tx_multishop_pi1[order]', 'p', 'Submit', 'weergave', 'clearcache'));
$subpartArray = array();
$subpartArray['###LABEL_HEADER_ORDERS_ID###'] = $this->pi_getLL('orders_id');
$subpartArray['###LABEL_FOOTER_ORDERS_ID###'] = $this->pi_getLL('orders_id');
$subpartArray['###LABEL_HEADER_CUSTOMER###'] = $this->pi_getLL('customer');
$subpartArray['###LABEL_FOOTER_CUSTOMER###'] = $this->pi_getLL('customer');
$subpartArray['###LABEL_HEADER_IP_ADDRESS###'] = $this->pi_getLL('ip_address');
$subpartArray['###LABEL_FOOTER_IP_ADDRESS###'] = $this->pi_getLL('ip_address');
$subpartArray['###LABEL_HEADER_USER_AGENT###'] = $this->pi_getLL('user_agent', 'user agents');
$subpartArray['###LABEL_FOOTER_USER_AGENT###'] = $this->pi_getLL('user_agent', 'user agents');
$subpartArray['###ADMIN_LABEL_LINK_DOWNLOAD_AS_EXCEL###'] = $this->pi_getLL('admin_label_link_download_as_excel');
// pagination
$this->ms['MODULES']['PAGESET_LIMIT'] = $this->ms['MODULES']['ORDERS_LISTING_LIMIT'];
if (!$this->ms['nopagenav'] and $pageset['total_rows'] > $this->ms['MODULES']['PAGESET_LIMIT']) {
    $tmp = '';
    require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/admin_pages/includes/admin_pagination.php';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:user-agent_listing_table.php

示例3: floor

            $end_page_number = $total_pages;
        }
    }
}
$tmp .= '<li class="pagenav_number">
<ul id="pagenav_number_wrapper">';
for ($x = $start_page_number; $x <= $end_page_number; $x++) {
    if ($p + 1 == $x) {
        $tmp .= '<li><div class="dyna_button"><span>' . $x . '</span></a></li>';
    } else {
        $tmp .= '<li><div class="dyna_button"><a class="ajax_link pagination_button" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . ($x - 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'mini_foto', 'clearcache'))) . '">' . $x . '</a></div></li>';
    }
}
$tmp .= '</ul>
</li>';
$tmp .= '<li class="pagenav_next">';
if (($p + 1) * $this->ms['MODULES']['ORDERS_LISTING_LIMIT'] < $pageset['total_rows']) {
    $tmp .= '<div class="dyna_button"><a class="pagination_button" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . ($p + 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'weergave', 'tx_multishop_pi1', 'clearcache'))) . '">' . $this->pi_getLL('next') . '</a></div>';
} else {
    $tmp .= '<span>&nbsp;</span>';
}
$tmp .= '</li>';
$tmp .= '<li class="pagenav_last">';
if (($p + 1) * $this->ms['MODULES']['ORDERS_LISTING_LIMIT'] < $pageset['total_rows']) {
    $lastpage = floor($pageset['total_rows'] / $this->ms['MODULES']['ORDERS_LISTING_LIMIT']);
    $tmp .= '<div class="dyna_button"><a class="pagination_button" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . $lastpage . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'weergave', 'tx_multishop_pi1', 'clearcache'))) . '">' . $this->pi_getLL('last') . '</a></div>';
} else {
    $tmp .= '<span>&nbsp;</span>';
}
$tmp .= '</li>
</ul></div>';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:pagination.php

示例4: floor

} else {
    if ($p >= 9) {
        $start_page_number = $p - 5 + 1;
        $end_page_number = $p + 4 + 1;
        if ($end_page_number > $total_pages) {
            $end_page_number = $total_pages;
        }
    }
}
$tmp .= '';
for ($x = $start_page_number; $x <= $end_page_number; $x++) {
    if ($p + 1 == $x) {
        $tmp .= '<li class="pagenav_number active"><span>' . $x . '</span></a></li>';
    } else {
        $tmp .= '<li class="pagenav_number"><a href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . ($x - 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'page', 'tx_multishop_pi1[action]', 'clearcache'))) . '">' . $x . '</a></li>';
    }
}
if (($p + 1) * $this->ms['MODULES']['PAGESET_LIMIT'] < $pageset['total_rows']) {
    $tmp .= '<li class="pagenav_next"><a class="pagination_button msBackendButton continueState arrowRight arrowPosLeft" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . ($p + 1) . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'tx_multishop_pi1[action]', 'clearcache'))) . '"><span><i class="fa fa-angle-right"></i></span></a></li>';
} else {
    $tmp .= '<li class="pagenav_next disabled"><span><i class="fa fa-angle-right"></i></span></li>';
}
if (($p + 1) * $this->ms['MODULES']['PAGESET_LIMIT'] < $pageset['total_rows']) {
    $lastpage = floor($pageset['total_rows'] / $this->ms['MODULES']['PAGESET_LIMIT']);
    $tmp .= '<li class="pagenav_last"><a class="pagination_button msBackendButton continueState arrowRight arrowPosLeft" href="' . mslib_fe::typolink($this->shop_pid . ',2003', 'p=' . $lastpage . '&' . mslib_fe::tep_get_all_get_params(array('p', 'Submit', 'tx_multishop_pi1[action]', 'clearcache'))) . '"><span><i class="fa fa-angle-double-right"></i></span></a></li>';
} else {
    $tmp .= '<li class="pagenav_last disabled"><span><i class="fa fa-angle-double-right"></i></span></li>';
}
$tmp .= '</ul>
</div>
';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:admin_pagination.php

示例5:

                if (strstr($this->ms['MODULES']['PRODUCTS_LISTING_TYPE'], "/")) {
                    require $this->DOCUMENT_ROOT . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
                } else {
                    if (!$this->ms['MODULES']['PRODUCTS_LISTING_TYPE']) {
                        $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] = 'default';
                    }
                    require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing/' . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
                }
            }
            // pagination
            if (!$this->hidePagination and $pageset['total_rows'] > $this->ms['MODULES']['PRODUCTS_LISTING_LIMIT']) {
                if (!isset($this->ms['MODULES']['PRODUCTS_LISTING_PAGINATION_TYPE']) || $this->ms['MODULES']['PRODUCTS_LISTING_PAGINATION_TYPE'] == 'default') {
                    require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing_pagination.php';
                } else {
                    require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing_pagination_with_number.php';
                }
            }
            // pagination eof
        } else {
            $this->no_database_results = 1;
            if (!$this->hideIfNoResults) {
                //$content.='<div class="main-heading"><h2>'.$this->pi_getLL('no_new_products_found_heading').'</h2></div>'."\n";
                //$content.='<p>'.$this->pi_getLL('no_new_products_found_description').'</p>'."\n";
            }
        }
    }
    if ($pageset['total_rows'] > 0) {
        $link = mslib_fe::typolink('', 'clear_list=1&' . mslib_fe::tep_get_all_get_params(array('clear_list')));
        $content .= '<a href="' . $link . '" class="btn btn-default btnClearList"><span class="glyphicon glyphicon-remove"></span> ' . $this->pi_getLL('clear_list') . '</a>';
    }
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:products_last_visited.php


注:本文中的mslib_fe::tep_get_all_get_params方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。