Downloads

Download tar.gz 38.1 KB
MD5: c90c1c011f4ac75524cdcaaff7d3dc59
SHA-1: bd367ea56c59196d08348265a476398d02b732c8
SHA-256: bf26c341693b80cf5f6a34c90da02c0acf63d446612b049ccf6303a00d8932b7
Download zip 51.26 KB
MD5: aa53cbd3daa32f055db1df1f2a75a955
SHA-1: db4d86f06cc70a315d458c7854184c175d1d11ca
SHA-256: f0db63983c373756b0074537609e87e0b6163a288990a8cf511d13163f7c4719

Release notes

- Function node_export_node_bulk() is removed. The way to do all exports is through node_export() now. All exports are handled as arrays, but imports still support single object import for backwards compatibility.
- Permission 'export bulk nodes' is now 'export nodes'.
- Permission 'export node' is removed - use 'export nodes'.
- API hooks that contained 'node_bulk' in the function name, now do not.
- New hook node_export_node_export for format handler modules.
- Alter hook with 'node_encode' in the name now is 'node_code_encode'.
- Split default node code handling into separate file.
- Split interface functions into separate file.
- Implemented a serialize format as sample case for external export code types. It has the disadvantage of being ugly and unreadable, but the advantage of correctly handling complex classes/objects.
- New hook hook_node_export_import for format handler modules.
- Removed the prepopulate method - now always does what used to be called save-edit. removed $method/$mode from corresponding hooks.
- $code_string is the variable name for the export code string.
- Various other variable names have changed in code.
- Function node_export_import_types_check() now returns array of failed types.
- Added an option to allow user to pick the export format on the day.
- Functions node_export() and node_export_import() now always return an array with a var indicating success/failure and another var for output. It is up to the caller to decide what to do with these. You still have to pass in $msg_t to indicate which function to use for translations.
- Permissions are now checked in node_export() and node_export_import().
- Import functionality now moved to node/add.
- Hooks hook_node_export_node_alter() and hook_node_export() changed slightly.

Created by: danielb
Created on: 3 Dec 2010 at 01:15 UTC
Last updated: 3 Dec 2010 at 12:16 UTC
New features

Other releases