/** * Get the location control as a select dropdown. */ private static function get_control_locationselect($auth, $args, $tabalias, $options) { self::$want_location_layer = true; $location_list_args = array_merge(array('label' => lang::get('LANG_Location_Label'), 'view' => 'detail', 'extraParams' => array_merge(array('orderby' => 'name', 'website_id' => $args['website_id']), $auth['read'])), $options); return data_entry_helper::location_select($location_list_args); }