Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17826612
DiffusionRepositoryByIDRemarkupRule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
572 B
Referenced Files
None
Subscribers
None
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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jul 28, 7:27 AM (1 d, 4 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8260250
Default Alt Text
DiffusionRepositoryByIDRemarkupRule.php (572 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment