mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 17:00:59 +01:00
21 lines
335 B
PHP
21 lines
335 B
PHP
|
<?php
|
||
|
|
||
|
final class PHUITextView extends AphrontTagView {
|
||
|
|
||
|
private $text;
|
||
|
|
||
|
public function setText($text) {
|
||
|
$this->appendChild($text);
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function getTagName() {
|
||
|
return 'span';
|
||
|
}
|
||
|
|
||
|
public function getTagAttributes() {
|
||
|
require_celerity_resource('phui-text-css');
|
||
|
return array();
|
||
|
}
|
||
|
}
|