modules/Settings/PBX/models/Module.php
Assigning string
to property but \Settings_PBX_Module_Model->baseIndex
is string[]
Open
Open
public $baseIndex = 'pbxid';
- Exclude checks
Assigning string
to property but \Settings_PBX_Module_Model->baseTable
is string[]
Open
Open
public $baseTable = 's_yf_pbx';
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Settings_PBX_Module_Model extends Settings_Vtiger_Module_Model
- Exclude checks
The class Settings_PBX_Module_Model is not named in CamelCase. Open
Open
class Settings_PBX_Module_Model extends Settings_Vtiger_Module_Model
{
/**
* Table name.
*
- 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
* Table name.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* List of fields displayed in list view.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $baseTable = 's_yf_pbx';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Table name.
- 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
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string[]
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $baseIndex = 'pbxid';
- 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
*/
- 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
* @var string[]
- 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
* @var string[]
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Module Name.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @var string
- 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
public $name = 'PBX';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $listFields = ['name' => 'LBL_NAME', 'type' => 'LBL_TYPE', 'default' => 'LBL_DEFAULT'];
- 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 "Settings_PBX_Module_Model" is not in camel caps format Open
Open
class Settings_PBX_Module_Model extends Settings_Vtiger_Module_Model
- Exclude checks