Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F676983
PhabricatorTextEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
734 B
Referenced Files
None
Subscribers
None
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
(
phutil_nonempty_string
(
$placeholder
))
{
$control
->
setPlaceholder
(
$placeholder
);
}
return
$control
;
}
protected
function
newConduitParameterType
()
{
return
new
ConduitStringParameterType
();
}
protected
function
newBulkParameterType
()
{
return
new
BulkStringParameterType
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 27, 7:30 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
169168
Default Alt Text
PhabricatorTextEditField.php (734 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment