Exemplo n.º 1
0
 protected function setup()
 {
     $characterRepository = new CharacterRepository(TRUE);
     $characterRepository->addOrderBy(array('name' => 'ASC'));
     $characters = $characterRepository->getAll();
     MySmarty::assign('characters', $characters);
 }