Page MenuHomestyx hydra

DiffusionCommitRevisionHeraldField.php
No OneTemporary

DiffusionCommitRevisionHeraldField.php

<?php
final class DiffusionCommitRevisionHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.revision';
public function getHeraldFieldName() {
return pht('Differential revision');
}
public function getFieldGroupKey() {
return HeraldRelatedFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
$revision = $this->getAdapter()->loadDifferentialRevision();
if (!$revision) {
return null;
}
return $revision->getPHID();
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_BOOL;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 30, 10:58 PM (15 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
429943
Default Alt Text
DiffusionCommitRevisionHeraldField.php (624 B)

Event Timeline