@@ -7,6 +7,9 @@ |
||
| 7 | 7 | |
| 8 | 8 | class View extends FrontView |
| 9 | 9 | { |
| 10 | + /** |
|
| 11 | + * @param integer|null $status |
|
| 12 | + */ |
|
| 10 | 13 | public function form($formData, $status) |
| 11 | 14 | { |
| 12 | 15 | $this->formData = $formData; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * |
| 12 | 12 | * @param int $limit |
| 13 | 13 | * @param int $onPage |
| 14 | - * @param array $orderBy |
|
| 14 | + * @param string[] $orderBy |
|
| 15 | 15 | * |
| 16 | 16 | * @return array |
| 17 | 17 | */ |
@@ -8,6 +8,9 @@ discard block |
||
| 8 | 8 | { |
| 9 | 9 | private $root = THEMES_ROOT.'/front/'.FRONT_THEME.'/'; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param string $path |
|
| 13 | + */ |
|
| 11 | 14 | public function getFilesListByPath($path) |
| 12 | 15 | { |
| 13 | 16 | return array_diff( |
@@ -16,6 +19,9 @@ discard block |
||
| 16 | 19 | ); |
| 17 | 20 | } |
| 18 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $path |
|
| 24 | + */ |
|
| 19 | 25 | public function getFileInfo($path) |
| 20 | 26 | { |
| 21 | 27 | $file = $this->root.$path; |
@@ -33,6 +39,9 @@ discard block |
||
| 33 | 39 | ]; |
| 34 | 40 | } |
| 35 | 41 | |
| 42 | + /** |
|
| 43 | + * @param string $path |
|
| 44 | + */ |
|
| 36 | 45 | public function saveFile($path, $data) |
| 37 | 46 | { |
| 38 | 47 | $file = $this->root.$path; |