Files
grzanieplus.pl/plugins/stPocztaPolskaPlugin/modules/stPocztaPolskaFrontend/actions/actions.class.php
2025-03-12 17:06:23 +01:00

17 lines
561 B
PHP

<?php
class stPocztaPolskaFrontendActions extends stActions
{
public function executeMapWidget()
{
$pickupPoint = stDeliveryTypePickupPoint::createFromJson($this->getRequestParameter('pickup_point'));
$this->smarty = new stSmarty($this->getModuleName());
$this->smarty->assign('delivery_id', $this->getRequestParameter('delivery_id'));
$this->smarty->assign('pickup_point', $pickupPoint);
sfConfig::set('sf_web_debug', false);
return $this->renderText($this->smarty->fetch('map_widget.html'));
}
}