Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98059726
PhabricatorTextEditField.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, Jan 9, 04:31
Size
718 B
Mime Type
text/x-php
Expires
Sat, Jan 11, 04:31 (2 d)
Engine
blob
Format
Raw Data
Handle
23460274
Attached To
rPH Phabricator
PhabricatorTextEditField.php
View Options
<?php
final
class
PhabricatorTextEditField
extends
PhabricatorEditField
{
private
$placeholder
;
public
function
setPlaceholder
(
$placeholder
)
{
$this
->
placeholder
=
$placeholder
;
return
$this
;
}
public
function
getPlaceholder
()
{
return
$this
->
placeholder
;
}
protected
function
newControl
()
{
$control
=
new
AphrontFormTextControl
();
$placeholder
=
$this
->
getPlaceholder
();
if
(
strlen
(
$placeholder
))
{
$control
->
setPlaceholder
(
$placeholder
);
}
return
$control
;
}
protected
function
newConduitParameterType
()
{
return
new
ConduitStringParameterType
();
}
protected
function
newBulkParameterType
()
{
return
new
BulkStringParameterType
();
}
}
Event Timeline
Log In to Comment