1 | <?php |
||
13 | class Export implements ActionInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | protected $config = []; |
||
19 | |||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $session = []; |
||
24 | |||
25 | /** |
||
26 | * @var \CIBlockCMLExport |
||
27 | */ |
||
28 | protected $export; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $prefix = '.tmp'; |
||
34 | |||
35 | public function __construct() |
||
48 | |||
49 | /** |
||
50 | * @param int $id |
||
51 | * @return $this |
||
52 | */ |
||
53 | public function setId($id) |
||
58 | |||
59 | /** |
||
60 | * @param string $path |
||
61 | * @return $this |
||
62 | */ |
||
63 | public function setPath($path) |
||
68 | |||
69 | /** |
||
70 | * @param string $sections |
||
71 | * @return $this |
||
72 | */ |
||
73 | public function setSections($sections) |
||
78 | |||
79 | /** |
||
80 | * @param string $elements |
||
81 | * @return $this |
||
82 | */ |
||
83 | public function setElements($elements) |
||
88 | |||
89 | /** |
||
90 | * @return $this |
||
91 | */ |
||
92 | public function execute() |
||
104 | |||
105 | /** |
||
106 | * @return $this |
||
107 | * @throws ExportException |
||
108 | */ |
||
109 | protected function export() |
||
164 | } |