I'm trying to access some location info from the location views module and need a couple of functions that are private to be made public. Specifically, I am using _location_province_select_options and _location_get_iso3166_list. Is is possible to rename those functions to make them public?

CommentFileSizeAuthor
#1 location.inc_5.patch784 bytesankur

Comments

ankur’s picture

Status: Active » Fixed
StatusFileSize
new784 bytes

The attached patch was applied to DRUPAL-4-7 and HEAD.

The patch makes a public wrapper function for _location_province_select_options() called location_province_select_options().

The function _location_get_iso3166_list() already has the public wrapper function, location_get_iso3166_list().

I've only applied this now because I feel it might be related to http://drupal.org/node/81734 which may need a seperate patch to location_views after this one.

-Ankur

Anonymous’s picture

Status: Fixed » Closed (fixed)