Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97909209
DiffusionCommitRemarkupRule.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
Tue, Jan 7, 11:10
Size
645 B
Mime Type
text/x-php
Expires
Thu, Jan 9, 11:10 (2 d)
Engine
blob
Format
Raw Data
Handle
23438208
Attached To
rPH Phabricator
DiffusionCommitRemarkupRule.php
View Options
<?php
final
class
DiffusionCommitRemarkupRule
extends
PhabricatorObjectRemarkupRule
{
protected
function
getObjectNamePrefix
()
{
return
''
;
}
protected
function
getObjectNamePrefixBeginsWithWordCharacter
()
{
return
true
;
}
protected
function
getObjectIDPattern
()
{
return
PhabricatorRepositoryCommitPHIDType
::
getCommitObjectNamePattern
();
}
protected
function
loadObjects
(
array
$ids
)
{
$viewer
=
$this
->
getEngine
()->
getConfig
(
'viewer'
);
$query
=
id
(
new
DiffusionCommitQuery
())
->
setViewer
(
$viewer
)
->
withIdentifiers
(
$ids
);
$query
->
execute
();
return
$query
->
getIdentifierMap
();
}
}
Event Timeline
Log In to Comment