Пример #1
0
 public function testCreateClientNameNotFound()
 {
     $this->setExpectedException('Client_Html_Exception');
     Client_Html_Account_Favorite_Factory::createClient($this->_context, $this->_templatePaths, 'account/fav');
 }
Пример #2
0
 /**
  * Renders the account favorites.
  */
 public function favoriteAction()
 {
     $templatePaths = Base::getAimeos()->getCustomPaths('client/html');
     $client = \Client_Html_Account_Favorite_Factory::createClient($this->getContext(), $templatePaths);
     return $this->getClientOutput($client);
 }