Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895137
AphrontBoolHTTPParameterType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
539 B
Referenced Files
None
Subscribers
None
AphrontBoolHTTPParameterType.php
View Options
<?php
final
class
AphrontBoolHTTPParameterType
extends
AphrontHTTPParameterType
{
protected
function
getParameterValue
(
AphrontRequest
$request
,
$key
)
{
return
$request
->
getBool
(
$key
)
;
}
protected
function
getParameterTypeName
(
)
{
return
'bool'
;
}
protected
function
getParameterFormatDescriptions
(
)
{
return
array
(
pht
(
'A boolean value (true or false).'
)
,
)
;
}
protected
function
getParameterExamples
(
)
{
return
array
(
'v=true'
,
'v=false'
,
'v=1'
,
'v=0'
,
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 20:58 (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128697
Default Alt Text
AphrontBoolHTTPParameterType.php (539 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment