modules/Vtiger/dashboards/ServicesSoldToRenew.php
Reference to undeclared property \Vtiger_ServicesSoldToRenew_Dashboard->data
(Did you mean $data) Open
Open
return $this->data = $data;
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Vtiger_ServicesSoldToRenew_Dashboard extends Vtiger_ProductsSoldToRenew_Dashboard
- Exclude checks
The class Vtiger_ServicesSoldToRenew_Dashboard is not named in CamelCase. Open
Open
class Vtiger_ServicesSoldToRenew_Dashboard extends Vtiger_ProductsSoldToRenew_Dashboard
{
public function setData($data)
{
if (empty($data['orderby'])) {
- 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
return ['id', 'productname', 'parent_id', 'dateinservice'];
- 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
public function setData($data)
- 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
public function getConditions(): array
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getTargetFields()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$data['sortorder'] = 'asc';
- 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
return [['ssservicesstatus', 'e', 'PLL_ACCEPTED'], ['osssoldservices_renew', 'e', 'PLL_WAITING_FOR_RENEWAL']];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this->data = $data;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getTargetModule()
- 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
if (empty($data['orderby'])) {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getFieldNameToSecondButton()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return 'osssoldservices_renew';
- 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
$data['orderby'] = 'dateinservice';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* {@inheritdoc}.
- 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
return 'OSSSoldServices';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Class name "Vtiger_ServicesSoldToRenew_Dashboard" is not in camel caps format Open
Open
class Vtiger_ServicesSoldToRenew_Dashboard extends Vtiger_ProductsSoldToRenew_Dashboard
- Exclude checks