Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91415686
DiffusionRepositoryByIDRemarkupRule.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:48
Size
572 B
Mime Type
text/x-php
Expires
Tue, Nov 12, 21:48 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22260044
Attached To
rPH Phabricator
DiffusionRepositoryByIDRemarkupRule.php
View Options
<?php
final
class
DiffusionRepositoryByIDRemarkupRule
extends
PhabricatorObjectRemarkupRule
{
protected
function
getObjectNamePrefix
()
{
return
'R'
;
}
protected
function
getObjectIDPattern
()
{
return
'[0-9]+'
;
}
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