PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml

Recommend this page to a friend!
  Classes of Simo  >  CodeIgniter Plugin for Z-Ray  >  zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml  >  Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 3 months ago
Size: 806 bytes
 

Contents

Class file image Download
<documentation title="Function and Method Names">
    <standard>
    <![CDATA[
    Functions and methods should be named using the "studly caps" style (also referred to as "bumpy case" or "camel caps"). Functions should in addition have the package name as a prefix, to avoid name collisions between packages. The initial letter of the name (after the prefix) is lowercase, and each letter that starts a new "word" is capitalized.
    ]]>
    </standard>
    <code_comparison>
        <code title="Examples of valid function names">
        <![CDATA[
connect()
getData()
buildSomeWidget()
XML_RPC_serializeData()
        ]]>
        </code>
        <code title="Examples of invalid function names">
        <![CDATA[
Connect()
get_data()
        ]]>
        </code>
    </code_comparison>
</documentation>
For more information send a message to info at phpclasses dot org.