Exemplo n.º 1
0
 /**
  * 获取产品认证的列表
  * @param 产品认证id的list
  */
 public function getProductCertiList($idList)
 {
     if (!empty($idList)) {
         $arr = explode(",", $idList);
         $i = 0;
         $res = array();
         $dao = new DaoProductCerti();
         foreach ($arr as $id) {
             $certi = $dao->getProductCertiById((int) $id);
             if (!empty($certi)) {
                 $res[$i] = $certi[0];
                 $i += 1;
             }
         }
         return $res;
     }
 }