TYPO3 CMS  TYPO3_6-2
ConfigurationCategory.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $name = '';
27 
31  protected $subcategories;
32 
36  protected $highlightText = '';
37 
41  public function __construct() {
42  $this->subcategories = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
43  }
44 
49  public function setSubcategories($subcategories) {
50  $this->subcategories = $subcategories;
51  }
52 
56  public function getSubcategories() {
57  return $this->subcategories;
58  }
59 
66  public function addSubcategory(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationSubcategory $subcategory) {
67  $this->subcategories->attach($subcategory);
68  }
69 
74  public function setName($name) {
75  $this->name = $name;
76  }
77 
81  public function getName() {
82  return $this->name;
83  }
84 
89  public function setHighlightText($highlightText) {
90  $this->highlightText = $highlightText;
91  }
92 
96  public function getHighlightText() {
97  return $this->highlightText;
98  }
99 
100 }
addSubcategory(\TYPO3\CMS\Extensionmanager\Domain\Model\ConfigurationSubcategory $subcategory)