Takes all necessary actions for the given import step, parameters and
form values and returns the next necessary step.
public nextStep ( integer $action, array $param = [] ) : mixed | ||
$action | integer | The current step. One of the IMPORT_* constants. |
$param | array | An associative array containing needed parameters for the current step. |
return | mixed | Either the next step as an integer constant or imported data set after the final step. |