PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 824 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="Valid: Examples of valid function names."> <![CDATA[ connect() getData() buildSomeWidget() XML_RPC_serializeData() ]]> </code> <code title="Invalid: Examples of invalid function names."> <![CDATA[ Connect() get_data() ]]> </code> </code_comparison> </documentation>