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

Stream – Activity Log &amp; Audit Trail, version 3.2.2. 37 lines.

- Page: https://pluginprobe.com/plugins/stream/3.2.2/code/classes/class-exporter.php
- Raw: https://pluginprobe.com/plugins/stream/3.2.2/raw/classes/class-exporter.php
- Modified: 2017-09-13T04:02:22+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.2.2/code/classes/class-exporter.php#L10-L20`.

```php
<?php
namespace WP_Stream;

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
	 */
	public abstract 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;
	}
}

```
