TYPO3 CMS  TYPO3_6-2
BackendModule.php
Go to the documentation of this file.
1 <?php
3 
23 
27  protected $title = '';
28 
32  protected $name = '';
33 
37  protected $icon = array();
38 
42  protected $link = '';
43 
47  protected $onClick = '';
48 
52  protected $description = '';
53 
57  protected $navigationComponentId = '';
58 
62  protected $children;
63 
67  public function __construct() {
68  $this->children = new \SplObjectStorage();
69  }
70 
77  public function setChildren($children) {
78  $this->children = $children;
79  }
80 
86  public function getChildren() {
87  return $this->children;
88  }
89 
96  public function addChild(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child) {
97  $this->children->attach($child);
98  }
99 
106  public function setIcon(array $icon) {
107  $this->icon = $icon;
108  }
109 
115  public function getIcon() {
116  return $this->icon;
117  }
118 
125  public function setName($name) {
126  $this->name = $name;
127  }
128 
134  public function getName() {
135  return $this->name;
136  }
137 
144  public function setTitle($title) {
145  $this->title = $title;
146  }
147 
153  public function getTitle() {
154  return $this->title;
155  }
156 
163  public function setLink($link) {
164  $this->link = $link;
165  }
166 
172  public function getLink() {
173  return $this->link;
174  }
175 
182  public function setDescription($description) {
183  $this->description = $description;
184  }
185 
191  public function getDescription() {
192  return $this->description;
193  }
194 
202  $this->navigationComponentId = $navigationComponentId;
203  }
204 
210  public function getNavigationComponentId() {
212  }
213 
220  public function setOnClick($onClick) {
221  $this->onClick = $onClick;
222  }
223 
229  public function getOnClick() {
230  return $this->onClick;
231  }
232 
233 }
addChild(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child)