Example #1
0
 public function testCreateClientNameNotFound()
 {
     $this->setExpectedException('\\Aimeos\\Client\\Html\\Exception');
     \Aimeos\Client\Html\Locale\Select\Factory::createClient($this->context, $this->templatePaths, 'notfound');
 }
 /**
  * Processes requests and renders the locale selector.
  */
 public function selectAction()
 {
     $templatePaths = Base::getAimeos()->getCustomPaths('client/html');
     $client = \Aimeos\Client\Html\Locale\Select\Factory::createClient($this->getContext(), $templatePaths);
     return $this->getClientOutput($client);
 }