Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4852587
PhabricatorMetaMTAApplicationEmailPHIDType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
947 B
Referenced Files
None
Subscribers
None
PhabricatorMetaMTAApplicationEmailPHIDType.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment