def _create_url_with_params(params=None, controller=None, action=None, extras=None):
 if (not controller):
  controller = c.controller
 if (not action):
  action = c.action
 if (not extras):
  extras = {}
 url = url_for(controller=controller, action=action, **extras)
 return _url_with_params(url, params)

def _create_url_with_params ( params = None , controller = None , action = None , extras = None ) : if ( not controller ) : controller = c . controller if ( not action ) : action = c . action if ( not extras ) : extras = { } url = url_for ( controller = controller , action = action , ** extras ) return _url_with_params ( url , params )
internal function for building urls with parameters .