TYPO3 CMS  TYPO3_6-2
ConfigurationSubcategory.php
Go to the documentation of this file.
1 <?php
3 
27 
31  protected $name = '';
32 
36  protected $label = '';
37 
41  protected $items;
42 
46  public function __construct() {
47  $this->items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
48  }
49 
54  public function setItems($items) {
55  $this->items = $items;
56  }
57 
61  public function getItems() {
62  return $this->items;
63  }
64 
71  public function addItem(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationItem $item) {
72  $this->items->attach($item);
73  }
74 
79  public function setName($name) {
80  $this->name = $name;
81  }
82 
86  public function getName() {
87  return $this->name;
88  }
89 
96  public function setLabel($label) {
97  $this->label = $label;
98  }
99 
105  public function getLabel() {
106  return $this->label;
107  }
108 
109 }
addItem(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationItem $item)