Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97572795
PhabricatorProjectMemberListView.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, Jan 5, 09:30
Size
755 B
Mime Type
text/x-php
Expires
Tue, Jan 7, 09:30 (2 d)
Engine
blob
Format
Raw Data
Handle
23429396
Attached To
rPH Phabricator
PhabricatorProjectMemberListView.php
View Options
<?php
final
class
PhabricatorProjectMemberListView
extends
PhabricatorProjectUserListView
{
protected
function
canEditList
()
{
$viewer
=
$this
->
getUser
();
$project
=
$this
->
getProject
();
if
(!
$project
->
supportsEditMembers
())
{
return
false
;
}
return
PhabricatorPolicyFilter
::
hasCapability
(
$viewer
,
$project
,
PhabricatorPolicyCapability
::
CAN_EDIT
);
}
protected
function
getNoDataString
()
{
return
pht
(
'This project does not have any members.'
);
}
protected
function
getRemoveURI
(
$phid
)
{
$project
=
$this
->
getProject
();
$id
=
$project
->
getID
();
return
"/project/members/{$id}/remove/?phid={$phid}"
;
}
protected
function
getHeaderText
()
{
return
pht
(
'Members'
);
}
}
Event Timeline
Log In to Comment