locale/en_US/en_US.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
- Exclude checks
The class AlumniLocaleEn_US is not named in CamelCase. Open
Open
class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
{
// Module
const MODULE_NAME = 'Alumni';
const MODULE_DESC = 'Module for creating Alumni pages';
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}
Source
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 26 and the first side effect is on line 21. Open
Open
<?php
- Exclude checks
Line exceeds 120 characters; contains 162 characters Open
Open
const CONF_USE_INDEX_CODE_DESC = 'Put additional code between listings<br>on the index page<br>and the categories page.<br><br>Banners, Adsense code, etc...';
- Exclude checks
Line exceeds 120 characters; contains 131 characters Open
Open
const NOTIFICATION_CATEGORY_NEWLISTING_DSC = 'Receive notification when any new listing is published in the current category.';
- Exclude checks
Line exceeds 120 characters; contains 147 characters Open
Open
const CONF_USE_BANNER_DESC = 'Will allow you to insert xoopsbanners in between listings.<br>If you choose Yes<br>Do Not insert any code below';
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
const CONF_INDEX_CODE_PLACE_DESC = 'Ex. If you choose 4 there will be 3 listings before this code.<br> Code will be displayed in the 4th slot.';
- Exclude checks
Class name "AlumniLocaleEn_US" is not in camel caps format Open
Open
class AlumniLocaleEn_US /*extends XoopsLocaleEn_US*/
- Exclude checks