Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1010427
PhabricatorTextAreaEditField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
765 B
Referenced Files
None
Subscribers
None
PhabricatorTextAreaEditField.php
View Options
<?php
final
class
PhabricatorTextAreaEditField
extends
PhabricatorEditField
{
private
$monospaced
;
private
$height
;
public
function
setMonospaced
(
$monospaced
)
{
$this
->
monospaced
=
$monospaced
;
return
$this
;
}
public
function
getMonospaced
()
{
return
$this
->
monospaced
;
}
public
function
setHeight
(
$height
)
{
$this
->
height
=
$height
;
return
$this
;
}
public
function
getHeight
()
{
return
$this
->
height
;
}
protected
function
newControl
()
{
$control
=
new
AphrontFormTextAreaControl
();
if
(
$this
->
getMonospaced
())
{
$control
->
setCustomClass
(
'PhabricatorMonospaced'
);
}
$height
=
$this
->
getHeight
();
if
(
$height
)
{
$control
->
setHeight
(
$height
);
}
return
$control
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jun 19, 1:46 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
245801
Default Alt Text
PhabricatorTextAreaEditField.php (765 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment