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


PHP AgileSellerManager::getAcitveProductsListed方法代码示例

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


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

示例1: limited_by_membership

 public static function limited_by_membership($id_seller)
 {
     if (intval(${${"GLOBALS"}["tpubctvvlkrd"]}) > 0 and Module::isInstalled("agilemembership") and intval(Configuration::get("AGILE_MEMBERSHIP_SELLER_INTE")) > 0) {
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php";
         $igckop = "id_seller";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/agilemembership.php";
         $kkyparclft = "membershiptype";
         $lbvzyb = "membership";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/MembershipType.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/CustomerMembership.php";
         ${${"GLOBALS"}["qwrpbc"]} = new SellerInfo(SellerInfo::getIdBSellerId(${$igckop}));
         ${"GLOBALS"}["sjqvdo"] = "num";
         ${${"GLOBALS"}["rzogbmiaosx"]} = new CustomerMembership(CustomerMembership::getIdByCustomerId($sellerinfo->id_customer));
         if (!Validate::isLoadedObject(${$lbvzyb})) {
             return true;
         }
         ${$kkyparclft} = new MembershipType($membership->id_membership_type);
         if (!Validate::isLoadedObject(${${"GLOBALS"}["mbcacw"]})) {
             return true;
         }
         if (!AgileMembership::isActivated($sellerinfo->id_customer) or !AgileMembership::isMemberFeePaid($sellerinfo->id_customer)) {
             return true;
         }
         ${${"GLOBALS"}["sjqvdo"]} = AgileSellerManager::getAcitveProductsListed(${${"GLOBALS"}["tpubctvvlkrd"]});
         ${"GLOBALS"}["aeoptjd"] = "num";
         if (${${"GLOBALS"}["aeoptjd"]} >= intval($membershiptype->listing_max) and intval($membershiptype->listing_max) > 0) {
             return true;
         }
         return false;
     }
     return false;
 }
开发者ID:sho5kubota,项目名称:guidingyou2,代码行数:32,代码来源:AgileSellerManager.php

示例2: limited_by_membership

 public static function limited_by_membership($id_seller)
 {
     if (intval(${${"GLOBALS"}["ghjbfbenq"]}) > 0 and Module::isInstalled("agilemembership") and intval(Configuration::get("AGILE_MEMBERSHIP_SELLER_INTE")) > 0) {
         $fdlzwmoqj = "num";
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/agilemembership.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/MembershipType.php";
         $wpdcvqoxy = "sellerinfo";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/CustomerMembership.php";
         ${$wpdcvqoxy} = new SellerInfo(SellerInfo::getIdBSellerId(${${"GLOBALS"}["ghjbfbenq"]}));
         ${${"GLOBALS"}["wvxnbvhc"]} = new CustomerMembership(CustomerMembership::getIdByCustomerId($sellerinfo->id_customer));
         if (!Validate::isLoadedObject(${${"GLOBALS"}["wvxnbvhc"]})) {
             return true;
         }
         ${${"GLOBALS"}["ulmwafwenh"]} = new MembershipType($membership->id_membership_type);
         if (!Validate::isLoadedObject(${${"GLOBALS"}["ulmwafwenh"]})) {
             return true;
         }
         if (!AgileMembership::isActivated($sellerinfo->id_customer) or !AgileMembership::isMemberFeePaid($sellerinfo->id_customer)) {
             return true;
         }
         ${${"GLOBALS"}["ntqtncirr"]} = AgileSellerManager::getAcitveProductsListed(${${"GLOBALS"}["ghjbfbenq"]});
         if (${$fdlzwmoqj} >= intval($membershiptype->listing_max) and intval($membershiptype->listing_max) > 0) {
             return true;
         }
         return false;
     }
     return false;
 }
开发者ID:evilscripts,项目名称:gy,代码行数:29,代码来源:AgileSellerManager.php

示例3: limited_by_membership

 public static function limited_by_membership($id_seller)
 {
     if (intval(${${"GLOBALS"}["pbiyrsaos"]}) > 0 and Module::isInstalled("agilemembership") and intval(Configuration::get("AGILE_MEMBERSHIP_SELLER_INTE")) > 0) {
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/agilemembership.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/MembershipType.php";
         $fufeamxcyjr = "membership";
         ${"GLOBALS"}["bqmujrr"] = "membership";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/CustomerMembership.php";
         $yltnxtalslm = "sellerinfo";
         ${$yltnxtalslm} = new SellerInfo(SellerInfo::getIdBSellerId(${${"GLOBALS"}["pbiyrsaos"]}));
         ${"GLOBALS"}["jarywcgnwfk"] = "id_seller";
         ${${"GLOBALS"}["bqmujrr"]} = new CustomerMembership(CustomerMembership::getIdByCustomerId($sellerinfo->id_customer));
         $iyqbnpykyel = "num";
         if (!Validate::isLoadedObject(${$fufeamxcyjr})) {
             return true;
         }
         ${${"GLOBALS"}["hjvoddgpxb"]} = new MembershipType($membership->id_membership_type);
         if (!Validate::isLoadedObject(${${"GLOBALS"}["hjvoddgpxb"]})) {
             return true;
         }
         if (!AgileMembership::isActivated($sellerinfo->id_customer) or !AgileMembership::isMemberFeePaid($sellerinfo->id_customer)) {
             return true;
         }
         ${$iyqbnpykyel} = AgileSellerManager::getAcitveProductsListed(${${"GLOBALS"}["jarywcgnwfk"]});
         if (${${"GLOBALS"}["vuefcasbu"]} >= intval($membershiptype->listing_max) and intval($membershiptype->listing_max) > 0) {
             return true;
         }
         return false;
     }
     return false;
 }
开发者ID:evilscripts,项目名称:gy,代码行数:32,代码来源:AgileSellerManager.php

示例4: limited_by_membership

 public static function limited_by_membership($id_seller)
 {
     if (intval($id_seller) > 0 and Module::isInstalled('agilemembership') and intval(Configuration::get('AGILE_MEMBERSHIP_SELLER_INTE')) > 0) {
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/agilemembership.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/MembershipType.php";
         include_once _PS_ROOT_DIR_ . "/modules/agilemembership/CustomerMembership.php";
         $sellerinfo = new SellerInfo(SellerInfo::getIdBSellerId($id_seller));
         $membership = new CustomerMembership(CustomerMembership::getIdByCustomerId($sellerinfo->id_customer));
         if (!Validate::isLoadedObject($membership)) {
             return true;
         }
         $membershiptype = new MembershipType($membership->id_membership_type);
         if (!Validate::isLoadedObject($membershiptype)) {
             return true;
         }
         if (!AgileMembership::isActivated($sellerinfo->id_customer) or !AgileMembership::isMemberFeePaid($sellerinfo->id_customer)) {
             return true;
         }
         $num = AgileSellerManager::getAcitveProductsListed($id_seller);
         if ($num >= intval($membershiptype->listing_max) and intval($membershiptype->listing_max) > 0) {
             return true;
         }
         return false;
     }
     return false;
 }
开发者ID:sho5kubota,项目名称:guidingyou2,代码行数:27,代码来源:AgileSellerManager.php


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