Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109667650
DiffusionRepositoryRemarkupRule.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, Apr 22, 22:25
Size
568 B
Mime Type
text/x-php
Expires
Thu, Apr 24, 22:25 (2 d)
Engine
blob
Format
Raw Data
Handle
25731249
Attached To
rPH Phabricator
DiffusionRepositoryRemarkupRule.php
View Options
<?php
final
class
DiffusionRepositoryRemarkupRule
extends
PhabricatorObjectRemarkupRule
{
protected
function
getObjectNamePrefix
()
{
return
'r'
;
}
protected
function
getObjectIDPattern
()
{
return
'[A-Z]+'
;
}
public
function
getPriority
()
{
return
460.0
;
}
protected
function
loadObjects
(
array
$ids
)
{
$viewer
=
$this
->
getEngine
()->
getConfig
(
'viewer'
);
$repos
=
id
(
new
PhabricatorRepositoryQuery
())
->
setViewer
(
$viewer
)
->
withIdentifiers
(
$ids
);
$repos
->
execute
();
return
$repos
->
getIdentifierMap
();
}
}
Event Timeline
Log In to Comment