Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F430540
PHUIHandleView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
PHUIHandleView.php
View Options
<?php
/**
* Convenience class for rendering a single handle.
*
* This class simplifies rendering a single handle, and improves loading and
* caching semantics in the rendering pipeline by loading data at the last
* moment.
*/
final
class
PHUIHandleView
extends
AphrontView
{
private
$handleList
;
private
$handlePHID
;
public
function
setHandleList
(
PhabricatorHandleList
$list
)
{
$this
->
handleList
=
$list
;
return
$this
;
}
public
function
setHandlePHID
(
$phid
)
{
$this
->
handlePHID
=
$phid
;
return
$this
;
}
public
function
render
()
{
return
$this
->
handleList
[
$this
->
handlePHID
]->
renderLink
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 10:40 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
60284
Default Alt Text
PHUIHandleView.php (644 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment