Created
November 28, 2011 18:32
-
-
Save realityking/1401435 to your computer and use it in GitHub Desktop.
Joomla autoloader naming convention
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-All classes have to start with a J to be considered by the autoloader | |
-Class names have to be camel cased | |
-Every uppercase letter marks a new folder | |
-If there's only one part it is repetead | |
Examples: | |
-JDatabase would have to be in database/database.php | |
-JDatabaseExporter would have to be in database/exporter.php | |
-JDatabaseExporterCvs would have to be in database/exporter/cvs.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment