Beispiel #1
0
 protected static function buildFieldsList($main_query = false, $mi = 'mi', $format = null, $sort = null, $custom_fields = null)
 {
     if ($main_query) {
         $data_fields_list = array('m.geom_wkt', 'm.area_type');
     } else {
         $data_fields_list = array();
     }
     $base_fields_list = parent::buildFieldsList($main_query, $mi, $format, $sort, $custom_fields);
     return array_merge($base_fields_list, $data_fields_list);
 }
Beispiel #2
0
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }