Beispiel #1
0
 private function getLocationTypeValue($id, $location_type)
 {
     $model = new cmsModel();
     $item_name = $model->getField('geo_' . $location_type, $id, 'name');
     if ($item_name) {
         return $item_name;
     }
     return null;
 }