Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93141814
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, Nov 26, 12:50
Size
648 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 12:50 (2 d)
Engine
blob
Format
Raw Data
Handle
22580607
Attached To
rPH Phabricator
DiffusionCommitRemarkupRule.php
View Options
<?php
final
class
DiffusionCommitRemarkupRule
extends
PhabricatorRemarkupRuleObject
{
protected
function
getObjectNamePrefix
()
{
return
''
;
}
protected
function
getObjectNamePrefixBeginsWithWordCharacter
()
{
return
true
;
}
protected
function
getObjectIDPattern
()
{
return
PhabricatorRepositoryPHIDTypeCommit
::
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