<div id="reply-content"><br></div>
     
    <p style="color: #A0A0A8;">On Sunday, September 1, 2013 at 2:52 PM, Dieter Adriaenssens wrote:</p>
    <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
        <div id="quoted-message-content"><div><div>2013/9/1 Mohamed Ashraf <mohamed.ashraf.213@gmail.com>:</div><blockquote type="cite"><div><div><br></div><div>On Sun, Sep 1, 2013 at 2:11 PM, Dieter Adriaenssens</div><div><dieter.adriaenssens@gmail.com> wrote:</div><blockquote type="cite"><div><div><br></div><div>2013/8/31 Mohamed Ashraf <mohamed.ashraf.213@gmail.com>:</div><blockquote type="cite"><div><div>I was looking but didnt find the phpma coding standard for things like</div><div>docs,</div><div>function names and conventions.</div><div><br></div><div>The question I was looking for was the function name convention for</div><div>library</div><div>function since I saw two standards being followed in the codebase and I</div><div>am</div><div>not sure which is correct.</div></div></blockquote><div><br></div><div>If I'm not mistaken, PHP library methods should have this form</div><div>(following the PEAR standard) :</div><div><br></div><div>PMA_someFunction()</div><div><br></div><div>- PMA prefix</div><div>- camelCasing</div><div><br></div><div>What other kind of standard did you find?</div></div></blockquote><div>PMA_generate_common_hidden_inputs</div><div>I did not know if we are using underscores or camel casing. I looked at the</div><div>pear standard and found out about the rest of the conventions for code. but</div><div>not the documentation convention.</div></div></blockquote><div><br></div><div>Yes, camelCase. But phpMyAdmin has a history of 15 years and</div><div>refactoring is still ongoing, so you might find some other styles as</div><div>well.</div><div><br></div><blockquote type="cite"><div><div>for example if a function returns two things how is that represented in the</div><div>documentation.</div></div></blockquote><div><br></div><div>I don't understand what you mean? A function can have only one return value.</div><div>Do you mean that a function returns an array? Or an object? Or has a</div><div>'byReference' parameter? Or sets a global variable?</div></div></div></blockquote><div>The array way. How would that be documented. </div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><div id="quoted-message-content"><div><div><br></div><div>-- </div><div>Kind regards,</div><div><br></div><div>Dieter Adriaenssens</div><div><br></div><div>------------------------------------------------------------------------------</div><div>Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!</div><div>Discover the easy way to master current and previous Microsoft technologies</div><div>and advance your career. Get an incredible 1,500+ hours of step-by-step</div><div>tutorial videos with LearnDevNow. Subscribe today and save!</div><div>http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk</div><div>_______________________________________________</div><div>Phpmyadmin-devel mailing list</div><div>Phpmyadmin-devel@lists.sourceforge.net</div><div>https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</div></div></div>
         
         
         
         
    </blockquote>
     
    <div>
        <br>
    </div>