Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111968320
PhabricatorProjectProfile.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
Tue, May 6, 09:44
Size
444 B
Mime Type
text/x-php
Expires
Thu, May 8, 09:44 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25995811
Attached To
rPH Phabricator
PhabricatorProjectProfile.php
View Options
<?php
final
class
PhabricatorProjectProfile
extends
PhabricatorProjectDAO
{
protected
$projectPHID
;
protected
$blurb
;
protected
$profileImagePHID
;
public
function
loadProfileImageURI
()
{
$src_phid
=
$this
->
getProfileImagePHID
();
$file
=
id
(
new
PhabricatorFile
())->
loadOneWhere
(
'phid = %s'
,
$src_phid
);
if
(
$file
)
{
return
$file
->
getBestURI
();
}
return
PhabricatorUser
::
getDefaultProfileImageURI
();
}
}
Event Timeline
Log In to Comment