Example #1
0
 public function actionOSmap($id, $model = null)
 {
     if ($model === null) {
         $model = $this->loadModel($id);
     }
     $result = CustomOSMap::actionOSmap($id, $model, $this->renderPartial('_marker', array('model' => $model), true));
     if ($result) {
         return $this->renderPartial('_osmap', $result, true);
     }
     return '';
 }
Example #2
0
 public function actionOSmap($id, $model = null)
 {
     if ($model === null) {
         $model = $this->loadModel($id);
     }
     $result = CustomOSMap::actionOSmap($id, $model, $this->renderPartial('//../modules/apartments/views/backend/_marker', array('model' => $model), true));
     if ($result) {
         return $this->renderPartial('backend/_osmap', $result, true);
     }
     return '';
 }