Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/adapter/HeraldAdapter.php
Show First 20 Lines • Show All 872 Lines • ▼ Show 20 Lines | private function renderConditionAsText( | ||||
$condition_type = $condition->getFieldCondition(); | $condition_type = $condition->getFieldCondition(); | ||||
$condition_name = idx($this->getConditionNameMap(), $condition_type); | $condition_name = idx($this->getConditionNameMap(), $condition_type); | ||||
$value = $this->renderConditionValueAsText($condition, $handles, $viewer); | $value = $this->renderConditionValueAsText($condition, $handles, $viewer); | ||||
return array( | return array( | ||||
$field_name, | $field_name, | ||||
' ', | |||||
$condition_name, | $condition_name, | ||||
' ', | |||||
$value, | $value, | ||||
); | ); | ||||
} | } | ||||
private function renderActionAsText( | private function renderActionAsText( | ||||
PhabricatorUser $viewer, | PhabricatorUser $viewer, | ||||
HeraldActionRecord $action, | HeraldActionRecord $action, | ||||
PhabricatorHandleList $handles) { | PhabricatorHandleList $handles) { | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |