mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
8434143795
Summary: Ref T6822. Test Plan: `grep` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11368
20 lines
341 B
PHP
20 lines
341 B
PHP
<?php
|
|
|
|
final class PHUITextView extends AphrontTagView {
|
|
|
|
private $text;
|
|
|
|
public function setText($text) {
|
|
$this->appendChild($text);
|
|
return $this;
|
|
}
|
|
|
|
protected function getTagName() {
|
|
return 'span';
|
|
}
|
|
|
|
protected function getTagAttributes() {
|
|
require_celerity_resource('phui-text-css');
|
|
return array();
|
|
}
|
|
}
|