3 final class PHUIFormTimerControl
extends AphrontFormControl
{
8 public function setIcon(PHUIIconView
$icon) {
13 public function getIcon() {
17 public function setUpdateURI($update_uri) {
18 $this->updateURI
= $update_uri;
22 public function getUpdateURI() {
23 return $this->updateURI
;
26 protected function getCustomControlClass() {
27 return 'phui-form-timer';
30 protected function renderInput() {
31 return $this->newTimerView();
34 public function newTimerView() {
35 $icon_cell = phutil_tag(
38 'class' => 'phui-form-timer-icon',
42 $content_cell = phutil_tag(
45 'class' => 'phui-form-timer-content',
47 $this->renderChildren());
49 $row = phutil_tag('tr', array(), array($icon_cell, $content_cell));
53 $update_uri = $this->getUpdateURI();
55 $node_id = celerity_generate_unique_node_id();
57 Javelin
::initBehavior(
65 return phutil_tag('table', array('id' => $node_id), $row);