Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F539125
DiffusionCommitResultBucket.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
679 B
Referenced Files
None
Subscribers
None
DiffusionCommitResultBucket.php
View Options
<?php
abstract
class
DiffusionCommitResultBucket
extends
PhabricatorSearchResultBucket
{
public
static
function
getAllResultBuckets
()
{
return
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
setUniqueMethod
(
'getResultBucketKey'
)
->
execute
();
}
protected
function
hasAuditorsWithStatus
(
PhabricatorRepositoryCommit
$commit
,
array
$phids
,
array
$statuses
)
{
foreach
(
$commit
->
getAudits
()
as
$audit
)
{
if
(!
isset
(
$phids
[
$audit
->
getAuditorPHID
()]))
{
continue
;
}
if
(!
isset
(
$statuses
[
$audit
->
getAuditStatus
()]))
{
continue
;
}
return
true
;
}
return
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 9:04 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
99937
Default Alt Text
DiffusionCommitResultBucket.php (679 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment