Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
resultfile.php
1<?
3
4class ResultFile extends Result
5{
6 protected $fileName = '';
7 protected $fileContent = '';
8
14 public function __construct($fileName = '', $fileContent = '')
15 {
16 $this->fileName = $fileName;
17 $this->fileContent = $fileContent;
18 parent::__construct();
19 }
20
24 public function getFileName()
25 {
26 return $this->fileName;
27 }
28
32 public function getFileContent()
33 {
34 return $this->fileContent;
35 }
36
37
41 public function setFileName($fileName)
42 {
43 $this->fileName = $fileName;
44 }
45
50 {
51 $this->fileContent = $fileContent;
52 }
53}
__construct($fileName='', $fileContent='')