Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893266
PhabricatorEditEngineConfigurationPHIDType.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
937 B
Referenced Files
None
Subscribers
None
PhabricatorEditEngineConfigurationPHIDType.php
View Options
<?php
final
class
PhabricatorEditEngineConfigurationPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'FORM'
;
public
function
getTypeName
(
)
{
return
pht
(
'Edit Configuration'
)
;
}
public
function
newObject
(
)
{
return
new
PhabricatorEditEngineConfiguration
(
)
;
}
public
function
getPHIDTypeApplicationClass
(
)
{
return
PhabricatorTransactionsApplication
::
class
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$object_query
,
array
$phids
)
{
return
id
(
new
PhabricatorEditEngineConfigurationQuery
(
)
)
->
withPHIDs
(
$phids
)
;
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$config
=
$objects
[
$phid
]
;
$id
=
$config
->
getID
(
)
;
$name
=
$config
->
getName
(
)
;
$handle
->
setName
(
$name
)
;
$handle
->
setURI
(
$config
->
getURI
(
)
)
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 18:08 (5 w, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127274
Default Alt Text
PhabricatorEditEngineConfigurationPHIDType.php (937 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment