Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/view/fuel/FuelGridCellView.php
12249 views
1
<?php
2
3
final class FuelGridCellView
4
extends FuelComponentView {
5
6
private $content;
7
8
public function setContent($content) {
9
$this->content = $content;
10
return $this;
11
}
12
13
public function getContent() {
14
return $this->content;
15
}
16
17
public function render() {
18
$content = $this->getContent();
19
20
return $this->newComponentTag(
21
'div',
22
array(
23
'class' => 'fuel-grid-cell',
24
),
25
$content);
26
}
27
28
}
29
30