本文整理汇总了PHP中categories::set_page_parameter方法的典型用法代码示例。如果您正苦于以下问题:PHP categories::set_page_parameter方法的具体用法?PHP categories::set_page_parameter怎么用?PHP categories::set_page_parameter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类categories
的用法示例。
在下文中一共展示了categories::set_page_parameter方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
Released under the GNU General Public License
--------------------------------------------------------------*/
require_once 'includes/application_top.php';
require_once DIR_WS_CLASSES . FILENAME_IMAGEMANIPULATOR;
require_once DIR_WS_CLASSES . 'categories.php';
require_once DIR_FS_INC . 'xtc_get_tax_rate.inc.php';
require_once DIR_FS_INC . 'xtc_get_products_mo_images.inc.php';
require_once DIR_WS_CLASSES . 'currencies.php';
require_once DIR_FS_INC . 'xtc_wysiwyg.inc.php';
require_once DIR_WS_MODULES . 'graduated-prices-edit.php';
require_once DIR_FS_INC . 'xtc_get_order_description.inc.php';
$link = xtc_db_connect() or die('Unable to connect to database server!');
$currencies = new currencies();
$catfunc = new categories();
$catfunc->set_page_parameter();
//this is used only by group_prices
if ($_GET['function']) {
switch ($_GET['function']) {
case 'delete':
xtc_db_query("DELETE FROM personal_offers_by_customers_status_" . (int) $_GET['statusID'] . "\n\t\t\t\t\t\t WHERE products_id = '" . (int) $_GET['pID'] . "'\n\t\t\t\t\t\t AND quantity = '" . (int) $_GET['quantity'] . "'");
break;
}
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&action=new_product&pID=' . (int) $_GET['pID'] . $catfunc->page_parameter));
}
// Multi-Status Change, separated from $_GET['action']
// --- MULTI STATUS ---
if (isset($_POST['multi_status_on'])) {
//set multi_categories status=on
if (is_array($_POST['multi_categories'])) {
foreach ($_POST['multi_categories'] as $category_id) {