PluginProbe
Import WP – CSV & XML Import Export for WordPress / trunk
Import WP – CSV & XML Import Export for WordPress vtrunk
2.14.24 2.14.23 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 2.9.1 trunk 0.1.6 All 142 releases
jc-importer / class / Common / Importer / MapperInterface.php

MapperInterface.php in Import WP – CSV & XML Import Export for WordPress trunk, at class/Common/Importer/MapperInterface.php

34 lines 720 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ImportWP\Common\Importer;
4
5 interface MapperInterface
6 {
7 public function setup();
8
9 public function teardown();
10
11 /**
12 * @return PermissionInterface
13 */
14 public function permission();
15
16 public function exists(ParsedData $data);
17
18 public function insert(ParsedData $data);
19
20 public function update(ParsedData $data);
21
22 public function get_objects_for_removal();
23
24 public function delete($id);
25
26 public function get_custom_field($id, $key = '', $single = false);
27
28 public function clear_custom_field($term_id, $key);
29
30 public function update_custom_field($id, $key, $value, $unique = false, $skip_permissions = false);
31
32 public function add_version_tag();
33 }
34