Lines Matching refs:config
18 protected $config = [
41 if ($this->config['engineering']) {
61 $this->config['prefix'] .
63 $this->config['postfix']
69 if ($this->config['roundto'] == -1) {
72 $this->config['decpoint'],
73 $this->config['thousands']
79 (int)$this->config['roundto'],
80 $this->config['decpoint'],
81 $this->config['thousands']
84 if ($this->config['trimzeros'] && (strpos($value, (string) $this->config['decpoint']) !== false)) {
86 $value = rtrim($value, $this->config['decpoint']);
90 $R->cdata($this->config['prefix'] . $value . $this->config['postfix']);
108 if ($this->config['min'] !== '' && (float) $rawvalue < (float) $this->config['min']) {
109 throw new ValidationException('Decimal min', (float) $this->config['min']);
112 if ($this->config['max'] !== '' && (float) $rawvalue > (float) $this->config['max']) {
113 throw new ValidationException('Decimal max', (float) $this->config['max']);