Ejemplo n.º 1
0
 /**
  * Show mails in a list
  *
  * @return void
  */
 public function listAction()
 {
     $this->prepareFilterPluginVariables($this->piVars, $this->settings['search']['staticPluginsVariables']);
     $fieldArray = $this->getFieldList($this->settings['list']['fields']);
     $searchFields = $this->fieldRepository->findByUids(GeneralUtility::trimExplode(',', $this->settings['search']['fields'], true));
     $this->view->assignMultiple(['mails' => $this->mailRepository->findListBySettings($this->settings, $this->piVars), 'searchFields' => $searchFields, 'fields' => $this->fieldRepository->findByUids($fieldArray), 'piVars' => $this->piVars, 'abc' => ArrayUtility::getAbcArray()]);
     $this->assignMultipleActions();
 }
 /**
  * getAbcArray Test
  *
  * @return void
  * @test
  */
 public function getAbcArrayReturnsArray()
 {
     $this->assertSame(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], ArrayUtility::getAbcArray());
 }