Server : LiteSpeed System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : rahcos ( 1533) PHP Version : 8.4.24 Disable Function : NONE Directory : /home4/rahcos/.trash/wp-content/plugins/fluentform/app/Modules/Entries/ |
<?php
namespace FluentForm\App\Modules\Entries;
use FluentForm\App\Services\Transfer\TransferService;
use FluentForm\Framework\Foundation\Application;
/**
* @deprecated Use TransferService::exportEntries() instead.
* @todo Remove in next major version.
*/
class Export
{
protected $app;
protected $request;
protected $tableName;
public function __construct(Application $application, $tableName = 'fluentform_submissions')
{
$this->app = $application;
$this->request = $application->request;
$this->tableName = $tableName;
}
/**
* @deprecated Use TransferService::exportEntries() instead.
*/
public function index()
{
$args = $this->request->get();
if ($this->tableName !== 'fluentform_submissions') {
$args['table'] = $this->tableName;
}
TransferService::exportEntries($args);
}
}