Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104587061
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
Mon, Mar 10, 16:53
Size
511 B
Mime Type
text/x-php
Expires
Wed, Mar 12, 16:53 (2 d)
Engine
blob
Format
Raw Data
Handle
24810332
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