PluginProbe
Stream – Activity Log & Audit Trail / 3.2.0
Stream – Activity Log & Audit Trail v3.2.0
4.4.0 4.3.0 4.2.2 4.2.1 trunk 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1 3.1.1 3.10.0 3.2.0 3.2.1 3.2.2 3.2.3 All 50 releases
stream / classes / class-exporter.php

class-exporter.php in Stream – Activity Log & Audit Trail 3.2.0, at classes/class-exporter.php

37 lines 592 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace WP_Stream;
3
4 abstract class Exporter {
5 /**
6 * Exporter name
7 *
8 * @var string
9 */
10 public $name;
11
12 /**
13 * Exporter slug
14 *
15 * @var string
16 */
17 public $slug;
18
19 /**
20 * Output formatted data for download
21 *
22 * @param array $data Array of data to output.
23 * @param array $columns Column names included in data set.
24 * @return void
25 */
26 public abstract function output_file( $data, $columns );
27
28 /**
29 * Allow connectors to determine if their dependencies is satisfied or not
30 *
31 * @return bool
32 */
33 public function is_dependency_satisfied() {
34 return true;
35 }
36 }
37