/** * @see \wcf\system\jcoins\shop\item\type\IShopItem::boughtAction() */ public function boughtAction(array $paramters) { parent::boughtAction($paramters); $paramters = $this->prepare($paramters); if ($paramters['redirect'] == 1) { return array('location' => $paramters['source']); } // @TODO return array('location' => LinkHandler::getInstance()->getLink('JCoinsShopDownload', array('id' => $paramters['itemID']))); }