# stream/3.9.0/classes/class-exporter.php

Stream – Activity Log &amp; Audit Trail, version 3.9.0. 46 lines.

- Page: https://pluginprobe.com/plugins/stream/3.9.0/code/classes/class-exporter.php
- Raw: https://pluginprobe.com/plugins/stream/3.9.0/raw/classes/class-exporter.php
- Modified: 2020-07-08T12:34:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/stream/3.9.0/code/classes/class-exporter.php#L10-L20`.

```php
<?php
/**
 * Abstract class for record exporters
 *
 * @package WP_Stream
 */

namespace WP_Stream;

/**
 * Class - Exporter
 */
abstract class Exporter {
	/**
	 * Exporter name
	 *
	 * @var string
	 */
	public $name;

	/**
	 * Exporter slug
	 *
	 * @var string
	 */
	public $slug;

	/**
	 * Output formatted data for download
	 *
	 * @param array $data Array of data to output.
	 * @param array $columns Column names included in data set.
	 * @return void
	 */
	abstract public function output_file( $data, $columns );

	/**
	 * Allow connectors to determine if their dependencies is satisfied or not
	 *
	 * @return bool
	 */
	public function is_dependency_satisfied() {
		return true;
	}
}

```
