Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3295605
PhabricatorAuthContactNumberPHIDType.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
770 B
Referenced Files
None
Subscribers
None
PhabricatorAuthContactNumberPHIDType.php
View Options
<?php
final
class
PhabricatorAuthContactNumberPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'CTNM'
;
public
function
getTypeName
(
)
{
return
pht
(
'Contact Number'
)
;
}
public
function
newObject
(
)
{
return
new
PhabricatorAuthContactNumber
(
)
;
}
public
function
getPHIDTypeApplicationClass
(
)
{
return
PhabricatorAuthApplication
::
class
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhabricatorAuthContactNumberQuery
(
)
)
->
withPHIDs
(
$phids
)
;
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$contact_number
=
$objects
[
$phid
]
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Mar 27, 02:57 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1164852
Default Alt Text
PhabricatorAuthContactNumberPHIDType.php (770 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment