private function MongodbXHProfRuns::file_name in XHProf 8
Same name and namespace in other branches
- 6 modules/xhprof_mongodb/MongodbXHProfRuns.inc \MongodbXHProfRuns::file_name()
- 7 modules/xhprof_mongodb/MongodbXHProfRuns.inc \MongodbXHProfRuns::file_name()
File
- modules/
xhprof_mongodb/ MongodbXHProfRuns.inc, line 19 - Definition of MongodbXHProfRuns.
Class
- MongodbXHProfRuns
- Defines a MongoDB storage backend for XHProf.
Code
private function file_name($run_id, $type) {
$file = "{$run_id}.{$type}";
if (!empty($this->dir)) {
$file = $this->dir . "/" . $file;
}
return $file;
}