Helper for loading old data

since 7.0.0
package MatukioEvents

 Methods

Get the preloaded json Data if any

get(integer $formId, integer $userId, $booking) : string
Static

Workflow:

  • Get Data from User State
  • Get an old book9ing
  • Get data with mapping from user data (like CB, JomSocial)
since 7.0.0

Parameters

$formId

integer

The formId

$userId

integer

The userId

$booking

Returns

string

Get the data from the user state (if there is any)

getDataFromUserState($formId) : string
Static
since 7.0.0

Parameters

$formId

Returns

string