Jump to content

Auto-updating modules and Validator


Recommended Posts

Hi everyone,

I have a simple question :

Why the document http://doc.prestashop.com/display/PS15/Coding+Standards says "Method and function names always use CamelCase: begin with a lowercase character and each following words must begin with an uppercase character" and the document http://doc.prestashop.com/display/PS15/Auto-updating+modules says "function upgrade_module_1_1($module) {

  // Process Module upgrade to 1.1
  // ....
  return true; // Return true if success.
}" ?
If I follow the developer guide, I do not respect the Prestashop standards ...
And if I follow Prestashop standards my upgrade won't work ...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...