modules/HolidaysEntitlement/models/Module.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class HolidaysEntitlement_Module_Model extends Vtiger_Module_Model
- Exclude checks
The class HolidaysEntitlement_Module_Model is not named in CamelCase. Open
Open
class HolidaysEntitlement_Module_Model extends Vtiger_Module_Model
{
/**
* Function to check whether the module is summary view supported.
*
- 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
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Function to check whether the module is summary view supported.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function isSummaryViewSupported()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return bool
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Class name "HolidaysEntitlement_Module_Model" is not in camel caps format Open
Open
class HolidaysEntitlement_Module_Model extends Vtiger_Module_Model
- Exclude checks