Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fact/chart/PhabricatorFactChartFunction.php
| Show All 23 Lines | final class PhabricatorFactChartFunction | ||||
| } | } | ||||
| public function loadData() { | public function loadData() { | ||||
| $fact = $this->fact; | $fact = $this->fact; | ||||
| $key_id = id(new PhabricatorFactKeyDimension()) | $key_id = id(new PhabricatorFactKeyDimension()) | ||||
| ->newDimensionID($fact->getKey()); | ->newDimensionID($fact->getKey()); | ||||
| if (!$key_id) { | if (!$key_id) { | ||||
| $this->map = array(); | |||||
| return; | return; | ||||
| } | } | ||||
| $table = $fact->newDatapoint(); | $table = $fact->newDatapoint(); | ||||
| $conn = $table->establishConnection('r'); | $conn = $table->establishConnection('r'); | ||||
| $table_name = $table->getTableName(); | $table_name = $table->getTableName(); | ||||
| $where = array(); | $where = array(); | ||||
| ▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines | |||||