コード例 #1
0
ファイル: newcart.php プロジェクト: snamper/xiaoshuhaochi
 public function clear()
 {
     $cartName = $this->getCartName();
     if ($this->saveType == 'session') {
         ISession::clear($cartName);
     } else {
         ICookie::clear($cartName);
     }
 }