Changeset 0795344ef2137f13c7fab96b14d3363fa9ee165d
- Timestamp:
- 05/14/08 22:07:42
(10 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1210802862 +0000
- git-parent:
[b927b3bbf9eeab57dc26e56d2eddfea8cc199a49]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1210802862 +0000
- Message:
support derivatives in the metric encoding as d-
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
r75fdd0c |
r0795344 |
|
16 | 16 | |
---|
17 | 17 | foreach(split(",", $_GET['metric']) as $m) { |
---|
18 | | preg_match('/^(n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m, |
---|
| 18 | preg_match('/^(d|n|t)-([0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12})-(.*)$/', $m, |
---|
19 | 19 | $matches); |
---|
20 | 20 | if($matches[1] == 'n') |
---|
21 | 21 | $driver->addDataSet($matches[2], $matches[3], 'false', null, array('expression' => '$this->bw($value)')); |
---|
| 22 | else if($matches[1] == 'd') |
---|
| 23 | $driver->addDataSet($matches[2], $matches[3], 'true', null, array('expression' => '$this->bw($value)')); |
---|
22 | 24 | else |
---|
23 | 25 | $driver->addChangeSet($matches[2], $matches[3]); |
---|