Remove product literal strings in "pht()", part 18
[phabricator.git] / src / applications / conduit / data / ConduitAPIDocumentationPage.php
blobe33266dcd1cbcb8a785ad825c1fd130055a032e9
1 <?php
3 final class ConduitAPIDocumentationPage
4 extends Phobject {
6 private $name;
7 private $anchor;
8 private $iconIcon;
9 private $content = array();
11 public function setName($name) {
12 $this->name = $name;
13 return $this;
16 public function getName() {
17 return $this->name;
20 public function setAnchor($anchor) {
21 $this->anchor = $anchor;
22 return $this;
25 public function getAnchor() {
26 return $this->anchor;
29 public function setContent($content) {
30 $this->content = $content;
31 return $this;
34 public function getContent() {
35 return $this->content;
38 public function setIconIcon($icon_icon) {
39 $this->iconIcon = $icon_icon;
40 return $this;
43 public function getIconIcon() {
44 return $this->iconIcon;
47 public function newView() {
48 $anchor_name = $this->getAnchor();
49 $anchor_view = id(new PhabricatorAnchorView())
50 ->setAnchorName($anchor_name);
52 $content = $this->content;
54 return array(
55 $anchor_view,
56 $content,