Apple_Actions\Index\Push::generate_article PHP Method

generate_article() private method

Use the export action to get an instance of the Exporter. Use that to manually generate the workspace for upload, then clean it up.
Since: 0.6.0
private generate_article ( )
    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());
    }