| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/AIWEBSTATION/wp-content/plugins/fluentform/app/Modules/Entries/ |
Upload File : |
<?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);
}
}