Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"quote,check,install,remove and keys" functions in module's files


amd.miri

Recommended Posts

Hello,

 

I'm new to oscommerce and I want to develop a module.

In the first file of the module which contains the class of the module, I saw that there are some functions like "quote,check,install,remove and keys" (class methods).

can somebody please explain me what these functions do?

 

ps: I think for the install or the remove it's clear, but not for the others.

 

thanks in advance

Miri

Link to comment
Share on other sites

Quote is an optional method used by shipping modules to return a shipping quote.

 

Check checks to see if the module is installed and enabled.

 

Keys is an array of the database keys used by the install method. Keys are mainly used by the remove method to uninstall the module.

 

Install is used to add the database fields when the module is installed.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...