Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81174675
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
Wed, Sep 4, 14:15
Size
526 B
Mime Type
text/x-php
Expires
Fri, Sep 6, 14:15 (2 d)
Engine
blob
Format
Raw Data
Handle
20526609
Attached To
rPH Phabricator
DiffusionRepositoryRemarkupRule.php
View Options
<?php
final
class
DiffusionRepositoryRemarkupRule
extends
PhabricatorRemarkupRuleObject
{
protected
function
getObjectNamePrefix
()
{
return
'r'
;
}
protected
function
getObjectIDPattern
()
{
return
'[A-Z]+'
;
}
protected
function
loadObjects
(
array
$ids
)
{
$viewer
=
$this
->
getEngine
()->
getConfig
(
'viewer'
);
$repositories
=
id
(
new
PhabricatorRepositoryQuery
())
->
setViewer
(
$viewer
)
->
withCallsigns
(
$ids
)
->
execute
();
return
mpull
(
$repositories
,
null
,
'getCallsign'
);
}
}
Event Timeline
Log In to Comment