mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#8642 Added heatmap widget 3
This commit is contained in:
parent
d4f6baa9bb
commit
fceddb1365
@ -97,18 +97,26 @@ class Heatmap
|
|||||||
*/
|
*/
|
||||||
protected $group = null;
|
protected $group = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Heatmap group.
|
||||||
|
*
|
||||||
|
* @var boolean
|
||||||
|
*/
|
||||||
|
protected $dashboard = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor function
|
* Constructor function
|
||||||
*
|
*
|
||||||
* @param integer $type Heatmap type.
|
* @param integer $type Heatmap type.
|
||||||
* @param array $filter Heatmap filter.
|
* @param array $filter Heatmap filter.
|
||||||
* @param string $randomId Heatmap random id.
|
* @param string $randomId Heatmap random id.
|
||||||
* @param integer $refresh Heatmap refresh.
|
* @param integer $refresh Heatmap refresh.
|
||||||
* @param integer $width Width.
|
* @param integer $width Width.
|
||||||
* @param integer $height Height.
|
* @param integer $height Height.
|
||||||
* @param string $search Heatmap search.
|
* @param string $search Heatmap search.
|
||||||
* @param integer $group Heatmap group.
|
* @param integer $group Heatmap group.
|
||||||
|
* @param boolean $dashboard Dashboard widget.
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
int $type=0,
|
int $type=0,
|
||||||
@ -118,7 +126,8 @@ class Heatmap
|
|||||||
int $width=0,
|
int $width=0,
|
||||||
int $height=0,
|
int $height=0,
|
||||||
string $search=null,
|
string $search=null,
|
||||||
int $group=1
|
int $group=1,
|
||||||
|
bool $dashboard=false
|
||||||
) {
|
) {
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
$this->filter = $filter;
|
$this->filter = $filter;
|
||||||
@ -128,6 +137,7 @@ class Heatmap
|
|||||||
$this->height = $height;
|
$this->height = $height;
|
||||||
$this->search = $search;
|
$this->search = $search;
|
||||||
$this->group = $group;
|
$this->group = $group;
|
||||||
|
$this->dashboard = $dashboard;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user