User Tools

Site Tools


linuxmcemaps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linuxmcemaps [2016/02/04 10:12] – [Repository/UserRepository.php] adminlinuxmcemaps [2016/02/04 10: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:
 } }
 </code> </code>
 +
 +===== 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->objectManager->get('Linuxmce\\Linuxmcemaps\\Domain\\Repository\\UserRepository')->findAll();
 +
 + \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($authors);
 +       
 +        
 +        $this->view->assign('blogs',$authors);
 +        $this->view->assign('search','asdsadsd');
 +    }
 +
 +}
 +</code>
 +
linuxmcemaps.1454577135.txt.gz · Last modified: 2016/02/04 10:12 by admin