Jump to content

Auto-updating modules and Validator


bdesprez
 Share

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 ...

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More