Path: blob/master/src/view/fuel/FuelMapItemView.php
12249 views
<?php12final class FuelMapItemView3extends AphrontView {45private $name;6private $value;78public function setName($name) {9$this->name = $name;10return $this;11}1213public function getName() {14return $this->name;15}1617public function setValue($value) {18$this->value = $value;19return $this;20}2122public function getValue() {23return $this->value;24}2526public function render() {27$value = $this->getValue();2829$view = array();3031$view[] = phutil_tag(32'div',33array(34'class' => 'fuel-map-name',35),36$this->getName());3738$view[] = phutil_tag(39'div',40array(41'class' => 'fuel-map-value',42),43$value);4445return phutil_tag(46'div',47array(48'class' => 'fuel-map-pair',49),50$view);51}5253}545556