Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100991711
PHUIFormNumberControl.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, Feb 4, 14:48
Size
484 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 14:48 (2 d)
Engine
blob
Format
Raw Data
Handle
24069424
Attached To
rPH Phabricator
PHUIFormNumberControl.php
View Options
<?php
final
class
PHUIFormNumberControl
extends
AphrontFormControl
{
protected
function
getCustomControlClass
()
{
return
'phui-form-number'
;
}
protected
function
renderInput
()
{
return
javelin_tag
(
'input'
,
array
(
'type'
=>
'text'
,
'pattern'
=>
'
\d
*'
,
'name'
=>
$this
->
getName
(),
'value'
=>
$this
->
getValue
(),
'disabled'
=>
$this
->
getDisabled
()
?
'disabled'
:
null
,
'id'
=>
$this
->
getID
(),
));
}
}
Event Timeline
Log In to Comment