refactoring for php template helper

php helper is accessible from php template using `$view['ivory_google_map']->renderHtmlContainer($map)`