Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93534900
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
Fri, Nov 29, 13:03
Size
511 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 13:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22661263
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
();
// TODO: (T603) Can we get rid of this and move it to a Query?
$file
=
id
(
new
PhabricatorFile
())->
loadOneWhere
(
'phid = %s'
,
$src_phid
);
if
(
$file
)
{
return
$file
->
getBestURI
();
}
return
PhabricatorUser
::
getDefaultProfileImageURI
();
}
}
Event Timeline
Log In to Comment