| 1 | <?php |
||
| 8 | class BaseControl extends \Nette\Application\UI\Control |
||
| 9 | { |
||
| 10 | |||
| 11 | /** @var array */ |
||
| 12 | protected $files; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $basePath; |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | 4 | public function getFiles() |
|
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $files |
||
| 29 | */ |
||
| 30 | 6 | public function setFiles($files) |
|
| 34 | |||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 2 | public function getBasePath() |
|
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $basePath |
||
| 47 | */ |
||
| 48 | 6 | public function setBasePath($basePath) |
|
| 52 | |||
| 53 | |||
| 54 | 2 | protected function formatFileUrl($file) |
|
| 63 | |||
| 64 | } |