コード例 #1
0
ファイル: fs_cart.php プロジェクト: rosellkarlrossj/FireSALE
 public function destroy()
 {
     // Run the standard CI_Cart function
     parent::destroy();
     // Fire an event to tell external modules that the cart has been destroyed
     Events::trigger('cart_destroyed');
 }
コード例 #2
0
ファイル: TI_Cart.php プロジェクト: AKCore/TastyIgniter
 public function __construct($params = array())
 {
     parent::__construct();
     $this->CI =& get_instance();
     if (!isset($this->_cart_contents['order_total'])) {
         $this->_cart_contents['order_total'] = 0;
     }
     if (!isset($this->_cart_contents['delivery'])) {
         $this->_cart_contents['delivery'] = 0;
     }
     if (!isset($this->_cart_contents['coupon'])) {
         $this->_cart_contents['coupon'] = $this->coupon_array;
     }
     log_message('info', "Cart Class Initialized");
 }
コード例 #3
0
ファイル: MY_Cart.php プロジェクト: Rotron/hero
 function __construct($config = array())
 {
     parent::__construct($config);
 }
コード例 #4
0
ファイル: My_Cart.php プロジェクト: harryge00/csc309-estore
 public function __construct()
 {
     parent::__construct();
 }
コード例 #5
0
ファイル: MY_Cart.php プロジェクト: zackwong/book-sys
 public function __construct()
 {
     parent::__construct();
     $this->product_name_rules = '\\S';
 }
コード例 #6
0
ファイル: MY_Cart.php プロジェクト: RooseveltJavier/Proyecto
 function __construct()
 {
     parent::__construct();
     $this->product_name_rules = "\\.\\:\\-_ a-z0-9#Ññ'+´áéíóúÁÉÍÓÚ(),\\/";
 }
コード例 #7
0
ファイル: MY_Cart.php プロジェクト: robotzhang/bangwoke
 function __construct()
 {
     parent::__construct();
     $this->product_name_rules = '\\d\\D';
     // hack CI的购物车不支持中文的问题
 }