Jump to content

Search the Community

Showing results for tags 'oop-design'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Real Name




Found 1 result

  1. I never understood the meaning and purpose of the quote() function parameters on shipping.php class: class shipping { (...) function quote($method = '', $module = '') { neither the sub-uses on shipping modules, for example: class usps { function quote($method = '') { Ok, in this example I can see using of $method parm: if (($method == '' && in_array($type, $this->types)) || $method == $type) { if (strpos($type, "Flat Rate")) $type_flat = $type . ', subject to verification'; else $type_flat = $type; $methods[] = array('id' => $type, 'title' => $type_flat, 'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes); } But, excuse me, I can't imagine the meaning. Can anybody explain us what's the meaning and when is useful to use it? Thanks a lot, seriously: your answer can alleviat a dude in my mind from several years ago! (excuse my English) :D