private function generate_article() { $export_action = new Export($this->settings, $this->id); $this->exporter = $export_action->fetch_exporter(); $this->exporter->generate(); return array($this->exporter->get_json(), $this->exporter->get_bundles(), $this->exporter->get_errors()); }