Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93094575
PHUIFormTimerControl.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
Tue, Nov 26, 04:25
Size
766 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 04:25 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22574561
Attached To
rPH Phabricator
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
);
}
}
Event Timeline
Log In to Comment