first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?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'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user