29 lines
454 B
PHP
29 lines
454 B
PHP
|
<?php
|
||
|
|
||
|
namespace Intaro\RetailCrm\Component;
|
||
|
|
||
|
use CCatalogExport;
|
||
|
use CModule;
|
||
|
use Dotenv\Loader;
|
||
|
|
||
|
/**
|
||
|
* Class Agent
|
||
|
*
|
||
|
* @package Intaro\RetailCrm\Component
|
||
|
*/
|
||
|
class Agent
|
||
|
{
|
||
|
/**
|
||
|
* @param int $profileId
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function preGenerateExport(int $profileId): string
|
||
|
{
|
||
|
CModule::IncludeModule('catalog');
|
||
|
CCatalogExport::PreGenerateExport($profileId);
|
||
|
|
||
|
return '';
|
||
|
}
|
||
|
}
|