shared global get param function