Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F452577
PHUIFormTimerControl.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
PHUIFormTimerControl.php
View Options
<?php
final
class
PHUIFormTimerControl
extends
AphrontFormControl
{
private
$icon
;
public
function
setIcon
(
PHUIIconView
$icon
)
{
$this
->
icon
=
$icon
;
return
$this
;
}
public
function
getIcon
()
{
return
$this
->
icon
;
}
protected
function
getCustomControlClass
()
{
return
'phui-form-timer'
;
}
protected
function
renderInput
()
{
$icon_cell
=
phutil_tag
(
'td'
,
array
(
'class'
=>
'phui-form-timer-icon'
,
),
$this
->
getIcon
());
$content_cell
=
phutil_tag
(
'td'
,
array
(
'class'
=>
'phui-form-timer-content'
,
),
$this
->
renderChildren
());
$row
=
phutil_tag
(
'tr'
,
array
(),
array
(
$icon_cell
,
$content_cell
));
return
phutil_tag
(
'table'
,
array
(),
$row
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 12:48 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
68877
Default Alt Text
PHUIFormTimerControl.php (766 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment