Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/storage/transcript/HeraldTranscript.php
| Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Lines | final class HeraldTranscript extends HeraldDAO | ||||
| } | } | ||||
| public function getConditionTranscriptsForRule($rule_id) { | public function getConditionTranscriptsForRule($rule_id) { | ||||
| return idx($this->conditionTranscripts, $rule_id, array()); | return idx($this->conditionTranscripts, $rule_id, array()); | ||||
| } | } | ||||
| public function getMetadataMap() { | public function getMetadataMap() { | ||||
| return array( | return array( | ||||
| 'Run At Epoch' => date('F jS, g:i:s A', $this->time), | pht('Run At Epoch') => date('F jS, g:i:s A', $this->time), | ||||
| 'Run On Host' => $this->host, | pht('Run On Host') => $this->host, | ||||
| 'Run Duration' => (int)(1000 * $this->duration).' ms', | pht('Run Duration') => (int)(1000 * $this->duration).' ms', | ||||
| ); | ); | ||||
| } | } | ||||
| public function generatePHID() { | public function generatePHID() { | ||||
| return PhabricatorPHID::generateNewPHID('HLXS'); | return PhabricatorPHID::generateNewPHID('HLXS'); | ||||
| } | } | ||||
| /* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
| Show All 38 Lines | |||||