2011-06-08 12:39:03 -07:00
|
|
|
<?php
|
|
|
|
|
2012-12-06 11:33:04 -08:00
|
|
|
final class DifferentialPrimaryPaneView extends AphrontView {
|
2011-06-08 12:39:03 -07:00
|
|
|
|
2011-07-08 13:00:30 -07:00
|
|
|
private $id;
|
2011-06-08 12:39:03 -07:00
|
|
|
|
2011-07-08 13:00:30 -07:00
|
|
|
public function setID($id) {
|
|
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
2011-06-08 12:39:03 -07:00
|
|
|
public function render() {
|
|
|
|
|
2013-02-11 13:16:57 -08:00
|
|
|
return phutil_tag(
|
2011-06-08 12:39:03 -07:00
|
|
|
'div',
|
|
|
|
array(
|
|
|
|
'class' => 'differential-primary-pane',
|
2011-07-08 13:00:30 -07:00
|
|
|
'id' => $this->id,
|
2011-06-08 12:39:03 -07:00
|
|
|
),
|
2013-02-11 13:16:57 -08:00
|
|
|
$this->renderHTMLChildren());
|
2011-06-08 12:39:03 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|