Property | Type | Description | |
---|---|---|---|
$_contentType | |||
$_extension | |||
$_parentMap | |||
$_tagMap |
Method | Description | |
---|---|---|
exportData ( $data, $method = 'REQUEST' ) | Stub to return exported data. | |
exportFile ( $filename, $data ) | Stub to export data to a file. | |
importData ( $contents, $header = false ) | ||
nextStep ( integer $action, array $param = [] ) : mixed | Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step. |
Method | Description | |
---|---|---|
_parseBookmarks ( $data, $container = null ) | ||
_parseFolders ( $data ) | ||
_parseJson ( $data, $container ) |
public exportData ( $data, $method = 'REQUEST' ) |
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. |