• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Guide 1.61: Additional Class Library Naming Convention Clarification

#1
[eluser]John_Betong[/eluser]
 
The Class Naming convention caused me grief yesterday and took me quite some time to solve.
 
from User Guide 1.61
Quote:...
...
...
Creating Libraries
...
...
...

Naming Conventions

* File names must be capitalized. For example: Myclass.php
* Class declarations must be capitalized. For example: class Myclass.
* Class names and file names must match.
 


Possible Additional Notes:

* Class names must be all lowercase with a single leading capital letter (underscores are accepted).

Special Note:
Using Camel Case will give a false sense of security since it works fine on WAMP Localhost but not online.


 

My Php Version details:
Localhost: PHP Version 5.2.5
Site.com: PHP Version 5.2.3

 
 

#2
[eluser]Sam Dark[/eluser]
Agree.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.