Ejemplo n.º 1
0
 public function testCreateClientNameNotFound()
 {
     $this->setExpectedException('\\Aimeos\\Client\\Html\\Exception');
     \Aimeos\Client\Html\Basket\Related\Factory::createClient($this->context, $this->templatePaths, 'notfound');
 }
Ejemplo n.º 2
0
 /**
  * Renders the related basket.
  */
 public function relatedAction()
 {
     $templatePaths = Base::getAimeos()->getCustomPaths('client/html');
     $client = \Aimeos\Client\Html\Basket\Related\Factory::createClient($this->getContext(), $templatePaths);
     return $this->getClientOutput($client);
 }