Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81495440
AphrontStringHTTPParameterType.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
Fri, Sep 6, 09:13
Size
527 B
Mime Type
text/x-php
Expires
Sun, Sep 8, 09:13 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20579157
Attached To
rPH Phabricator
AphrontStringHTTPParameterType.php
View Options
<?php
final
class
AphrontStringHTTPParameterType
extends
AphrontHTTPParameterType
{
protected
function
getParameterValue
(
AphrontRequest
$request
,
$key
)
{
return
$request
->
getStr
(
$key
);
}
protected
function
getParameterTypeName
()
{
return
'string'
;
}
protected
function
getParameterFormatDescriptions
()
{
return
array
(
pht
(
'A URL-encoded string.'
),
);
}
protected
function
getParameterExamples
()
{
return
array
(
'v=simple'
,
'v=properly%20escaped%20text'
,
);
}
}
Event Timeline
Log In to Comment