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


PHP AgileSellerManager::get_all_children方法代码示例

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


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

示例1: get_all_children

 public static function get_all_children($id_category)
 {
     $xfpggdtrvhh = "recs";
     ${"GLOBALS"}["gqnlnjrtcgt"] = "list";
     ${${"GLOBALS"}["gqnlnjrtcgt"]} = array();
     $swkjpmjjilo = "rec";
     if (!intval(${${"GLOBALS"}["dixowghpr"]})) {
         return ${${"GLOBALS"}["dalbbuvbftd"]};
     }
     ${${"GLOBALS"}["dalbbuvbftd"]}[] = intval(${${"GLOBALS"}["dixowghpr"]});
     ${${"GLOBALS"}["iikyewhoyyrc"]} = "SELECT id_category FROM " . _DB_PREFIX_ . "category where id_parent=" . ${${"GLOBALS"}["dixowghpr"]};
     ${${"GLOBALS"}["rqyabsu"]} = Db::getInstance()->ExecuteS(${${"GLOBALS"}["iikyewhoyyrc"]});
     if (empty(${$xfpggdtrvhh})) {
         return ${${"GLOBALS"}["dalbbuvbftd"]};
     }
     foreach (${${"GLOBALS"}["rqyabsu"]} as ${$swkjpmjjilo}) {
         $vyiqcemoa = "list";
         ${$vyiqcemoa} = array_merge(${${"GLOBALS"}["dalbbuvbftd"]}, AgileSellerManager::get_all_children(${${"GLOBALS"}["yjoepdqnnn"]}["id_category"]));
     }
     return ${${"GLOBALS"}["dalbbuvbftd"]};
 }
开发者ID:sho5kubota,项目名称:guidingyou2,代码行数:21,代码来源:AgileSellerManager.php

示例2: IsProductInMedicalCategory

 public static function IsProductInMedicalCategory($id_product)
 {
     $hjcigiv = "result";
     $lstmhbaguh = "result";
     ${"GLOBALS"}["rlyxqggizyx"] = "result";
     ${"GLOBALS"}["ktxcrkcysi"] = "list";
     ${${"GLOBALS"}["ixtqbqiuxlh"]} = implode(AgileSellerManager::get_all_children(Configuration::get("AGILE_MEDICAL_PRODUCT_CID")), ",");
     $ywugilyfsisi = "sql";
     ${${"GLOBALS"}["fajsjwqsq"]} = "SELECT id_category from " . _DB_PREFIX_ . "category_product where id_category in (" . ${${"GLOBALS"}["ktxcrkcysi"]} . ") AND id_product =" . ${${"GLOBALS"}["jcoawuufl"]};
     ${$hjcigiv} = Db::getInstance()->getRow(${$ywugilyfsisi});
     if (isset(${$lstmhbaguh}["id_category"]) and intval(${${"GLOBALS"}["rlyxqggizyx"]}["id_category"]) > 0) {
         return true;
     }
     return false;
 }
开发者ID:sho5kubota,项目名称:guidingyou2,代码行数:15,代码来源:AgileMultipleSellerBase.php

示例3: get_all_children

 public static function get_all_children($id_category)
 {
     ${"GLOBALS"}["fehlcixbi"] = "list";
     ${"GLOBALS"}["gywxcs"] = "list";
     ${${"GLOBALS"}["gywxcs"]} = array();
     ${"GLOBALS"}["kbmreomoun"] = "sql";
     $nqmwwoi = "rec";
     $fztqnno = "list";
     if (!intval(${${"GLOBALS"}["flyhbkzmeyxr"]})) {
         return ${$fztqnno};
     }
     $jnhrpdrfie = "list";
     $xiythlbmhb = "id_category";
     ${${"GLOBALS"}["wlgbkuymqn"]}[] = intval(${${"GLOBALS"}["flyhbkzmeyxr"]});
     ${${"GLOBALS"}["kbmreomoun"]} = "SELECT id_category FROM " . _DB_PREFIX_ . "category where id_parent=" . ${$xiythlbmhb};
     $toovgivxhtdm = "recs";
     ${$toovgivxhtdm} = Db::getInstance()->ExecuteS(${${"GLOBALS"}["qgysnkscmqt"]});
     if (empty(${${"GLOBALS"}["uhwphpeuvt"]})) {
         return ${$jnhrpdrfie};
     }
     foreach (${${"GLOBALS"}["uhwphpeuvt"]} as ${$nqmwwoi}) {
         $njgftmjypb = "rec";
         ${${"GLOBALS"}["wlgbkuymqn"]} = array_merge(${${"GLOBALS"}["wlgbkuymqn"]}, AgileSellerManager::get_all_children(${$njgftmjypb}["id_category"]));
     }
     return ${${"GLOBALS"}["fehlcixbi"]};
 }
开发者ID:evilscripts,项目名称:gy,代码行数:26,代码来源:AgileSellerManager.php

示例4: get_all_children

 public static function get_all_children($id_category)
 {
     $qqpworyu = "id_category";
     $ltmivxymw = "list";
     ${"GLOBALS"}["dgpiabawmf"] = "list";
     ${"GLOBALS"}["qagnbuqvkn"] = "sql";
     ${${"GLOBALS"}["azjcfgupwi"]} = array();
     if (!intval(${${"GLOBALS"}["byvrhys"]})) {
         return ${${"GLOBALS"}["dgpiabawmf"]};
     }
     ${${"GLOBALS"}["azjcfgupwi"]}[] = intval(${${"GLOBALS"}["byvrhys"]});
     ${${"GLOBALS"}["sywhpwni"]} = "SELECT id_category FROM " . _DB_PREFIX_ . "category where id_parent=" . ${$qqpworyu};
     ${${"GLOBALS"}["juqfmunu"]} = Db::getInstance()->ExecuteS(${${"GLOBALS"}["qagnbuqvkn"]});
     if (empty(${${"GLOBALS"}["juqfmunu"]})) {
         return ${$ltmivxymw};
     }
     foreach (${${"GLOBALS"}["juqfmunu"]} as ${${"GLOBALS"}["ofvnbep"]}) {
         ${"GLOBALS"}["hyatktif"] = "rec";
         $qgfsdhgaikb = "list";
         ${${"GLOBALS"}["azjcfgupwi"]} = array_merge(${$qgfsdhgaikb}, AgileSellerManager::get_all_children(${${"GLOBALS"}["hyatktif"]}["id_category"]));
     }
     return ${${"GLOBALS"}["azjcfgupwi"]};
 }
开发者ID:evilscripts,项目名称:gy,代码行数:23,代码来源:AgileSellerManager.php

示例5: get_all_children

 public static function get_all_children($id_category)
 {
     $list = array();
     if (!intval($id_category)) {
         return $list;
     }
     $list[] = intval($id_category);
     $sql = 'SELECT id_category FROM ' . _DB_PREFIX_ . 'category where id_parent=' . $id_category;
     $recs = Db::getInstance()->ExecuteS($sql);
     if (empty($recs)) {
         return $list;
     }
     foreach ($recs as $rec) {
         $list = array_merge($list, AgileSellerManager::get_all_children($rec['id_category']));
     }
     return $list;
 }
开发者ID:sho5kubota,项目名称:guidingyou2,代码行数:17,代码来源:AgileSellerManager.php


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