Beispiel #1
0
 public function insert(array $params)
 {
     // set to paypal entry
     if (empty($params['type'])) {
         $params['type'] = 'paypal';
     }
     return parent::insert($params);
 }
Beispiel #2
0
 public function insert(array $data)
 {
     // set to item entry
     if (empty($data['type'])) {
         $data['type'] = 'item';
     }
     return parent::insert($data);
 }
 public function insert(array $params)
 {
     // set as swapbuck entry
     if (empty($params['type'])) {
         $params['type'] = 'swapbuck';
     }
     return parent::insert($params);
 }