Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82819887
PhabricatorTextConfigType.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 13, 15:15
Size
632 B
Mime Type
text/x-php
Expires
Sun, Sep 15, 15:15 (2 d)
Engine
blob
Format
Raw Data
Handle
20758993
Attached To
rPH Phabricator
PhabricatorTextConfigType.php
View Options
<?php
abstract
class
PhabricatorTextConfigType
extends
PhabricatorConfigType
{
public
function
isValuePresentInRequest
(
PhabricatorConfigOption
$option
,
AphrontRequest
$request
)
{
$value
=
parent
::
readValueFromRequest
(
$option
,
$request
);
return
(
bool
)
strlen
(
$value
);
}
protected
function
newCanonicalValue
(
PhabricatorConfigOption
$option
,
$value
)
{
return
(
string
)
$value
;
}
protected
function
newHTTPParameterType
()
{
return
new
AphrontStringHTTPParameterType
();
}
protected
function
newControl
(
PhabricatorConfigOption
$option
)
{
return
new
AphrontFormTextControl
();
}
}
Event Timeline
Log In to Comment