示例#1
0
 /**
  * action showKategorie
  *
  * @param \Parrotmedia\Pmfaq\Domain\Model\Kategorie $kategorie
  *
  * @return void
  */
 public function showKategorieAction(\Parrotmedia\Pmfaq\Domain\Model\Kategorie $kategorie)
 {
     $GLOBALS['TSFE']->indexedDocTitle = $kategorie->getName();
     $entries = $this->eintragRepository->findByKategorie($kategorie);
     $this->view->assign('entries', $entries);
     $this->view->assign('kategorie', $kategorie);
     $this->view->assign('backPid', intval($GLOBALS['TSFE']->id));
 }
示例#2
0
 /**
  * @test
  */
 public function setNameForStringSetsName()
 {
     $this->subject->setName('Conceived at T3CON10');
     $this->assertAttributeEquals('Conceived at T3CON10', 'name', $this->subject);
 }