Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90503568
PhabricatorTextAreaEditField.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
Sat, Nov 2, 06:51
Size
765 B
Mime Type
text/x-php
Expires
Mon, Nov 4, 06:51 (2 d)
Engine
blob
Format
Raw Data
Handle
22088536
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment