1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/view/phui/PHUITextView.php
Joshua Spence 8434143795 Fix AphrontTagView visibility
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
2015-01-14 06:54:39 +11:00

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();
}
}