modules/Accounts/models/MassEditRecordStructure.php
Saw misspelled annotation @returns.
Did you mean @return?
Open
Open
* @returns boolean true or false
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Accounts_MassEditRecordStructure_Model extends Vtiger_MassEditRecordStructure_Model
- Exclude checks
The class Accounts_MassEditRecordStructure_Model is not named in CamelCase. Open
Open
class Accounts_MassEditRecordStructure_Model extends Vtiger_MassEditRecordStructure_Model
{
/**
* Function that return Field Restricted are not.
*
- 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 for alignment; tabs are not allowed Open
Open
* @returns boolean true or false
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
public function isFieldRestricted($fieldModel)
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
if ($restricted && 'accountname' == $fieldModel->getName()) {
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
return false;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @params Field Model
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param mixed $fieldModel
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
$restricted = parent::isFieldRestricted($fieldModel);
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
return $restricted;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used for alignment; 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
* @params Field Model
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Function that return Field Restricted are not.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Class name "Accounts_MassEditRecordStructure_Model" is not in camel caps format Open
Open
class Accounts_MassEditRecordStructure_Model extends Vtiger_MassEditRecordStructure_Model
- Exclude checks