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