paypal_form_link.'" method="'.$method.'">'; $str .= ''; $str .= ''; $str .= ''; $index = 1; foreach($this->all_item_number as $id => $item_number){ $str .= ''; $str .= ''; $str .= ''; $str .= ''; $index++; } $str .= ''; $str .= ''; $str .= ''; $str .= ''; $str .= ''; $str .= ''; $str .= ''; $str .= ''; $str .= ''; return $str; } //--- End Paypal Web payment system --- function paypal_ex(){ } //--- All Set information --- //--- Set link --- function set_paypal_form_link($paypal_form_link){ $this->paypal_form_link = $paypal_form_link; } function set_paypal_return_link($paypal_return_link){ $this->paypal_return_link = $paypal_return_link; } function set_paypal_cancel_link($paypal_cancel_link){ $this->paypal_cancel_link = $paypal_cancel_link; } function set_paypal_notify_link($paypal_notify_link){ $this->paypal_notify_link = $paypal_notify_link; } //--- End Set link --- //--- Set Enquiry --- function set_all_item_number($all_item_number){ $this->all_item_number = $all_item_number; } function set_all_quantity($all_quantity){ $this->all_quantity = $all_quantity; } function set_all_item_name($all_item_name){ $this->all_item_name = $all_item_name; } function set_all_amount($all_amount){ $this->all_amount = $all_amount; } //--- End Set Enquiry --- //--- Set Your unqiue --- function set_custom($custom){ $this->custom = $custom; } //--- End Set Your unqiue --- function set_cmd($cmd){ $this->cmd = $cmd; } function set_charset($charset){ $this->charset = $charset; } function set_business($business){ $this->business = $business; } function set_currency_code($currency_code){ $this->currency_code = $currency_code; } //--- End All Set information --- } ?>