Page MenuHomePhorge

PhabricatorMetaMTAApplicationEmailPHIDType.php
No OneTemporary

PhabricatorMetaMTAApplicationEmailPHIDType.php

<?php
final class PhabricatorMetaMTAApplicationEmailPHIDType
extends PhabricatorPHIDType {
const TYPECONST = 'APPE';
public function getTypeName() {
return pht('Application Email');
}
public function getTypeIcon() {
return 'fa-email bluegrey';
}
public function newObject() {
return new PhabricatorMetaMTAApplicationEmail();
}
public function getPHIDTypeApplicationClass() {
return 'PhabricatorMetaMTAApplication';
}
protected function buildQueryForObjects(
PhabricatorObjectQuery $query,
array $phids) {
return id(new PhabricatorMetaMTAApplicationEmailQuery())
->withPHIDs($phids);
}
public function loadHandles(
PhabricatorHandleQuery $query,
array $handles,
array $objects) {
foreach ($handles as $phid => $handle) {
$email = $objects[$phid];
$handle->setName($email->getAddress());
$handle->setFullName($email->getAddress());
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jun 9, 06:41 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1754514
Default Alt Text
PhabricatorMetaMTAApplicationEmailPHIDType.php (947 B)

Event Timeline