(self, root_extras=None, session_extras=None)
return ret
Get the entire touchforms context for a given user/app/module/form/case
Get the entire touchforms context for a given user/app/module/form/case
Get the entire touchforms context for a given user / app / module / form / case
def get_full_context(self, root_extras=None, session_extras=None):
        """
        Get the entire touchforms context for a given user/app/module/form/case
        """
        root_extras = root_extras or {}
        session_extras = session_extras or {}
        session_data = self.get_session_data()
        session_data.update(session_extras)
        xform_url = root_extras.get('formplayer_url')
        ret = {
            "session_data": session_data,
            "xform_url": xform_url,
        }
        ret.update(root_extras)
        return ret
def get_full_context ( self , root_extras = None , session_extras = None ) : root_extras = root_extras or { } session_extras = session_extras or { } session_data = self . get_session_data ( ) session_data . update ( session_extras ) xform_url = root_extras . get ( 'formplayer_url' ) ret = { "session_data" : session_data , "xform_url" : xform_url , } ret . update ( root_extras ) return ret