Beispiel #1
0
 function __construct($field, $num = null, $key = null)
 {
     $type = 'enum';
     parent::__construct($field, $type, $key);
     $this->num = $num;
 }
Beispiel #2
0
 function __construct($field, $start, $end, $gap, $key = null)
 {
     $type = 'hist';
     parent::__construct($field, $type, $key);
     $this->range = "[{$start}:{$end}:{$gap}]";
 }
Beispiel #3
0
 function __construct($field, $key = null)
 {
     $type = 'range';
     parent::__construct($field, $type, $key);
 }
Beispiel #4
0
 public function __construct($facetName, $params)
 {
     parent::__construct($facetName, $params);
     $this->_gap = (double) $params["values"]["gap"];
 }