*/ /** * Klasa stPolcardFrontendComponents * * @package stPolcardPlugin * @subpackage actions */ class stPolcardFrontendComponents extends sfComponents { /** * Pokazywanie formularza płatności */ public function executeShowPayment() { $this->smarty = new stSmarty('stPolcardFrontend'); $order = stPaymentType::getOrderInSummary(); $api = new stPolcard(); $params = $api->getFormParams($order); $this->smarty->assign('params', $params); $this->smarty->assign('url', $api->getUrl()); $this->smarty->assign('check_configuration', $api->checkPaymentConfiguration()); } }