17 lines
561 B
PHP
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'));
|
|
}
|
|
} |