Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75996715
PhabricatorRepositoryPushLogPHIDType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 5, 15:21
Size
811 B
Mime Type
text/x-php
Expires
Wed, Aug 7, 15:21 (2 d)
Engine
blob
Format
Raw Data
Handle
19642560
Attached To
rPH Phabricator
PhabricatorRepositoryPushLogPHIDType.php
View Options
<?php
final
class
PhabricatorRepositoryPushLogPHIDType
extends
PhabricatorPHIDType
{
const
TYPECONST
=
'PSHL'
;
public
function
getTypeName
()
{
return
pht
(
'Push Log'
);
}
public
function
newObject
()
{
return
new
PhabricatorRepositoryPushLog
();
}
public
function
getPHIDTypeApplicationClass
()
{
return
'PhabricatorDiffusionApplication'
;
}
protected
function
buildQueryForObjects
(
PhabricatorObjectQuery
$query
,
array
$phids
)
{
return
id
(
new
PhabricatorRepositoryPushLogQuery
())
->
withPHIDs
(
$phids
);
}
public
function
loadHandles
(
PhabricatorHandleQuery
$query
,
array
$handles
,
array
$objects
)
{
foreach
(
$handles
as
$phid
=>
$handle
)
{
$log
=
$objects
[
$phid
];
$handle
->
setName
(
pht
(
'Push Log %d'
,
$log
->
getID
()));
}
}
}
Event Timeline
Log In to Comment