TYPO3 CMS  TYPO3_6-2
ModuleStorage.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $entries;
27 
31  public function __construct() {
32  $this->entries = new \SplObjectStorage();
33  }
34 
41  public function setEntries($entries) {
42  $this->entries = $entries;
43  }
44 
50  public function getEntries() {
51  return $this->entries;
52  }
53 
60  public function attachEntry(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $entry) {
61  $this->entries->attach($entry);
62  }
63 
64 }
attachEntry(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $entry)