Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893124
PhortunePaymentMethodPHIDType.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
853 B
Referenced Files
None
Subscribers
None
PhortunePaymentMethodPHIDType.php
View Options
<?php
final
class
PhortunePaymentMethodPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'PAYM'
;
public
function
getTypeName
(
)
{
return
pht
(
'Phortune Payment Method'
)
;
}
public
function
newObject
(
)
{
return
new
PhortunePaymentMethod
(
)
;
}
public
function
getPHIDTypeApplicationClass
(
)
{
return
PhabricatorPhortuneApplication
::
class
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhortunePaymentMethodQuery
(
)
)
->
withPHIDs
(
$phids
)
;
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$method
=
$objects
[
$phid
]
;
$handle
->
setName
(
$method
->
getFullDisplayName
(
)
)
->
setURI
(
$method
->
getURI
(
)
)
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 17:54 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127170
Default Alt Text
PhortunePaymentMethodPHIDType.php (853 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment