Page MenuHomestyx hydra

FuelMapView.php
No OneTemporary

FuelMapView.php

<?php
final class FuelMapView
extends FuelComponentView {
private $items = array();
public function newItem() {
$item = new FuelMapItemView();
$this->items[] = $item;
return $item;
}
public function render() {
require_celerity_resource('fuel-map-css');
$items = $this->items;
if (!$items) {
return null;
}
$body = phutil_tag(
'div',
array(
'class' => 'fuel-map-items',
),
$items);
$map = phutil_tag(
'div',
array(
'class' => 'fuel-map',
),
$body);
return $this->newComponentTag(
'div',
array(
'class' => 'fuel-map-component',
),
$map);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jul 28, 9:21 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
187527
Default Alt Text
FuelMapView.php (704 B)

Event Timeline