On Sunday, September 1, 2013 at 2:52 PM, Dieter Adriaenssens wrote:
2013/9/1 Mohamed Ashraf <mohamed.ashraf.213@gmail.com>:On Sun, Sep 1, 2013 at 2:11 PM, Dieter Adriaenssens<dieter.adriaenssens@gmail.com> wrote:2013/8/31 Mohamed Ashraf <mohamed.ashraf.213@gmail.com>:I was looking but didnt find the phpma coding standard for things likedocs,function names and conventions.The question I was looking for was the function name convention forlibraryfunction since I saw two standards being followed in the codebase and Iamnot sure which is correct.If I'm not mistaken, PHP library methods should have this form(following the PEAR standard) :PMA_someFunction()- PMA prefix- camelCasingWhat other kind of standard did you find?PMA_generate_common_hidden_inputsI did not know if we are using underscores or camel casing. I looked at thepear standard and found out about the rest of the conventions for code. butnot the documentation convention.Yes, camelCase. But phpMyAdmin has a history of 15 years andrefactoring is still ongoing, so you might find some other styles aswell.for example if a function returns two things how is that represented in thedocumentation.I don't understand what you mean? A function can have only one return value.Do you mean that a function returns an array? Or an object? Or has a'byReference' parameter? Or sets a global variable?
--Kind regards,Dieter Adriaenssens------------------------------------------------------------------------------Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!Discover the easy way to master current and previous Microsoft technologiesand advance your career. Get an incredible 1,500+ hours of step-by-steptutorial videos with LearnDevNow. Subscribe today and save!http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk_______________________________________________Phpmyadmin-devel mailing listPhpmyadmin-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel