Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122445267
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
Thu, Jul 17, 22:05
Size
484 B
Mime Type
text/x-php
Expires
Sat, Jul 19, 22:05 (2 d)
Engine
blob
Format
Raw Data
Handle
27486143
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