Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F959955
PHUILinkView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
776 B
Referenced Files
None
Subscribers
None
PHUILinkView.php
View Options
<?php
final
class
PHUILinkView
extends
AphrontTagView
{
private
$uri
;
private
$text
;
private
$workflow
;
public
function
setURI
(
$uri
)
{
$this
->
uri
=
$uri
;
return
$this
;
}
public
function
getURI
()
{
return
$this
->
uri
;
}
public
function
setText
(
$text
)
{
$this
->
text
=
$text
;
return
$this
;
}
public
function
setWorkflow
(
$workflow
)
{
$this
->
workflow
=
$workflow
;
return
$this
;
}
protected
function
getTagName
()
{
return
'a'
;
}
protected
function
getTagAttributes
()
{
$sigil
=
array
();
if
(
$this
->
workflow
)
{
$sigil
[]
=
'workflow'
;
}
return
array
(
'href'
=>
$this
->
getURI
(),
'sigil'
=>
$sigil
,
);
}
protected
function
getTagContent
()
{
return
$this
->
text
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 17, 10:33 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
224476
Default Alt Text
PHUILinkView.php (776 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment