Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78627332
AphrontIntHTTPParameterType.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, Aug 22, 01:50
Size
471 B
Mime Type
text/x-php
Expires
Sat, Aug 24, 01:50 (2 d)
Engine
blob
Format
Raw Data
Handle
20078159
Attached To
rPH Phabricator
AphrontIntHTTPParameterType.php
View Options
<?php
final
class
AphrontIntHTTPParameterType
extends
AphrontHTTPParameterType
{
protected
function
getParameterValue
(
AphrontRequest
$request
,
$key
)
{
return
$request
->
getInt
(
$key
);
}
protected
function
getParameterTypeName
()
{
return
'int'
;
}
protected
function
getParameterFormatDescriptions
()
{
return
array
(
pht
(
'An integer.'
),
);
}
protected
function
getParameterExamples
()
{
return
array
(
'v=123'
,
);
}
}
Event Timeline
Log In to Comment