<?php namespace Ctct\Components\Activities; use Ctct\Components\Component; class ExportContacts extends Component { public $file_type = "CSV"; public $sort_by = "EMAIL_ADDRESS"; public $export_date_added = true; public $export_added_by = true; public $lists = array(); public $column_names = array("Email Address", "First Name", "Last Name"); public function __construct(Array $lists = null) { if (!$lists == null) { $this->lists = $lists; } } public function toJson() { return json_encode($this); } } 