Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456603
DiffusionRepositoryRemarkupRule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
DiffusionRepositoryRemarkupRule.php
View Options
<?php
final
class
DiffusionRepositoryRemarkupRule
extends
PhabricatorObjectRemarkupRule
{
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'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:34 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70976
Default Alt Text
DiffusionRepositoryRemarkupRule.php (526 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment