Page MenuHomePhorge

FuelMapItemView.php
No OneTemporary

Size
822 B
Referenced Files
None
Subscribers
None

FuelMapItemView.php

<?php
final class FuelMapItemView
extends AphrontView {
private $name;
private $value;
public function setName($name) {
$this->name = $name;
return $this;
}
public function getName() {
return $this->name;
}
public function setValue($value) {
$this->value = $value;
return $this;
}
public function getValue() {
return $this->value;
}
public function render() {
$value = $this->getValue();
$view = array();
$view[] = phutil_tag(
'div',
array(
'class' => 'fuel-map-name',
),
$this->getName());
$view[] = phutil_tag(
'div',
array(
'class' => 'fuel-map-value',
),
$value);
return phutil_tag(
'div',
array(
'class' => 'fuel-map-pair',
),
$view);
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jun 18, 6:33 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
220521
Default Alt Text
FuelMapItemView.php (822 B)

Event Timeline