Maybe I'm overthinking this one, and I'm not too handy with the OOP, but I'm extending rg66's CB Advanced Search to work with a modified version of the Google Maps plugin to allow for proximity searches of user profiles, and ran into a snag.
For sake of efficacy, I'd like to retrieve the parameters and execute a function within the Google Maps CB plugin in the Advanced Search component, but I can't seem to get what I guess is a cbParameters object returned.
The code in the component looks like this...
[code:1]require_once($mosConfig_absolute_path.'/components/com_comprofiler/plugin/user/plug_geocoder/geocoder.php');
$geo = new getGeocoderTab();
$geocode_params = $geo->_getParams();
...
[/code:1]
and the function that returns the parameters within the getGeocoderTab class is just...
[code:1]
function _getParams() {
$params = $this->params;
return $params;
}
[/code:1]
Am I missing a step or two to retrieve that cbParameters object, or would it not be advisable to go about it this way? Thanks in advance!
Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.
www.constructionlounge.com
Construction Lounge: Online resource and networking portal for the construction and remodeling industries.