This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linuxmcemaps [2016/02/04 09:12] – [Repository/UserRepository.php] admin | linuxmcemaps [2016/02/04 09:17] (current) – [Model/User.php] admin | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| <code php> | <code php> | ||
| - | <?php | + | |
| namespace Linuxmce\Linuxmcemaps\Domain\Repository; | namespace Linuxmce\Linuxmcemaps\Domain\Repository; | ||
| Line 146: | Line 146: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ===== Controller ===== | ||
| + | |||
| + | <code php> | ||
| + | |||
| + | namespace Linuxmce\Linuxmcemaps\Controller; | ||
| + | |||
| + | class MapController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { | ||
| + | |||
| + | /** | ||
| + | * @var \Linuxmce\Linuxmcemaps\Domain\Repository\UserRepository | ||
| + | * @inject | ||
| + | */ | ||
| + | protected $userRepository = NULL; | ||
| + | |||
| + | |||
| + | public function initializeAction(){ | ||
| + | |||
| + | } | ||
| + | |||
| + | public function initializeListAction(){ | ||
| + | |||
| + | } | ||
| + | |||
| + | public function showAction(){ | ||
| + | | ||
| + | $authors = $this-> | ||
| + | |||
| + | \TYPO3\CMS\Extbase\Utility\DebuggerUtility:: | ||
| + | |||
| + | | ||
| + | $this-> | ||
| + | $this-> | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||