Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91464639
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
Mon, Nov 11, 09:30
Size
484 B
Mime Type
text/x-php
Expires
Wed, Nov 13, 09:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22266869
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