modules/Calendar/models/ListView.php
Call to method setField
from undeclared class \App\QueryGenerator
(Did you mean class \Tests\App\QueryGenerator) Open
Open
$queryGenerator->setField('visibility')->setField('assigned_user_id')->setField('activitystatus');
- Exclude checks
Call to method setConcatColumn
from undeclared class \App\QueryGenerator
(Did you mean class \Tests\App\QueryGenerator) Open
Open
$queryGenerator->setConcatColumn('date_start', "CONCAT(vtiger_activity.date_start, ' ', vtiger_activity.time_start)");
- Exclude checks
Call to method setConcatColumn
from undeclared class \App\QueryGenerator
(Did you mean class \Tests\App\QueryGenerator) Open
Open
$queryGenerator->setConcatColumn('due_date', "CONCAT(vtiger_activity.due_date, ' ', vtiger_activity.time_end)");
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Calendar_ListView_Model extends Vtiger_ListView_Model
- Exclude checks
The class Calendar_ListView_Model is not named in CamelCase. Open
Open
class Calendar_ListView_Model extends Vtiger_ListView_Model
{
/**
* Function to get the list view entries.
*
- 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
$queryGenerator->setConcatColumn('date_start', "CONCAT(vtiger_activity.date_start, ' ', vtiger_activity.time_start)");
- 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
* @param Vtiger_Paging_Model $pagingModel
- 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
$queryGenerator->setField('visibility')->setField('assigned_user_id')->setField('activitystatus');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Function to get the list view entries.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function getListViewEntries(Vtiger_Paging_Model $pagingModel)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$queryGenerator->setConcatColumn('due_date', "CONCAT(vtiger_activity.due_date, ' ', vtiger_activity.time_end)");
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
$queryGenerator->setConcatColumn('date_start', "CONCAT(vtiger_activity.date_start, ' ', vtiger_activity.time_start)");
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return array - Associative array of record id mapped to Vtiger_Record_Model instance
- 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
$queryGenerator = $this->getQueryGenerator();
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return parent::getListViewEntries($pagingModel);
- 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 "Calendar_ListView_Model" is not in camel caps format Open
Open
class Calendar_ListView_Model extends Vtiger_ListView_Model
- Exclude checks