Page MenuHomePhorge

PhabricatorTextAreaEditField.php
No OneTemporary

Size
765 B
Referenced Files
None
Subscribers
None

PhabricatorTextAreaEditField.php

<?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

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)

Event Timeline