1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/view/phui/PHUITextView.php

21 lines
341 B
PHP
Raw Normal View History

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