Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F107649079
DiffusionRemarkupRule.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
Wed, Apr 9, 11:27
Size
642 B
Mime Type
text/x-php
Expires
Fri, Apr 11, 11:27 (2 d)
Engine
blob
Format
Raw Data
Handle
25451979
Attached To
rPH Phabricator
DiffusionRemarkupRule.php
View Options
<?php
final
class
DiffusionRemarkupRule
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