Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91415619
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
Sun, Nov 10, 21:47
Size
568 B
Mime Type
text/x-php
Expires
Tue, Nov 12, 21:47 (2 d)
Engine
blob
Format
Raw Data
Handle
22260032
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