Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2992097
PhabricatorPeopleExternalIdentifierPHIDType.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
804 B
Referenced Files
None
Subscribers
None
PhabricatorPeopleExternalIdentifierPHIDType.php
View Options
<?php
final
class
PhabricatorPeopleExternalIdentifierPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'XIDT'
;
public
function
getTypeName
(
)
{
return
pht
(
'External Account Identifier'
)
;
}
public
function
newObject
(
)
{
return
new
PhabricatorExternalAccountIdentifier
(
)
;
}
public
function
getPHIDTypeApplicationClass
(
)
{
return
PhabricatorPeopleApplication
::
class
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhabricatorExternalAccountIdentifierQuery
(
)
)
->
withPHIDs
(
$phids
)
;
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$identifier
=
$objects
[
$phid
]
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Feb 23, 04:51 (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1181147
Default Alt Text
PhabricatorPeopleExternalIdentifierPHIDType.php (804 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment