@@ -69,6 +69,9 @@ |
||
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $title |
|
| 74 | + */ |
|
| 72 | 75 | protected function addTab($title, array $fields) |
| 73 | 76 | { |
| 74 | 77 | foreach ($fields as $field) { |
@@ -60,5 +60,9 @@ |
||
| 60 | 60 | abstract protected function init(); |
| 61 | 61 | abstract protected function bound(); |
| 62 | 62 | abstract protected function crud(): CRUD; |
| 63 | + |
|
| 64 | + /** |
|
| 65 | + * @param string $action |
|
| 66 | + */ |
|
| 63 | 67 | abstract protected function can($action): bool; |
| 64 | 68 | } |
@@ -65,5 +65,9 @@ |
||
| 65 | 65 | abstract protected function init(); |
| 66 | 66 | abstract protected function bound(); |
| 67 | 67 | abstract protected function crud(): CRUD; |
| 68 | + |
|
| 69 | + /** |
|
| 70 | + * @param string $action |
|
| 71 | + */ |
|
| 68 | 72 | abstract protected function can($action): bool; |
| 69 | 73 | } |
@@ -46,5 +46,9 @@ |
||
| 46 | 46 | abstract protected function init(); |
| 47 | 47 | abstract protected function bound(); |
| 48 | 48 | abstract protected function crud(): CRUD; |
| 49 | + |
|
| 50 | + /** |
|
| 51 | + * @param string $action |
|
| 52 | + */ |
|
| 49 | 53 | abstract protected function can($action): bool; |
| 50 | 54 | } |
@@ -55,5 +55,9 @@ |
||
| 55 | 55 | abstract protected function init(); |
| 56 | 56 | abstract protected function bound(); |
| 57 | 57 | abstract protected function crud(): CRUD; |
| 58 | + |
|
| 59 | + /** |
|
| 60 | + * @param string $action |
|
| 61 | + */ |
|
| 58 | 62 | abstract protected function can($action): bool; |
| 59 | 63 | } |
@@ -48,5 +48,9 @@ |
||
| 48 | 48 | abstract protected function init(); |
| 49 | 49 | abstract protected function bound(); |
| 50 | 50 | abstract protected function crud(): CRUD; |
| 51 | + |
|
| 52 | + /** |
|
| 53 | + * @param string $action |
|
| 54 | + */ |
|
| 51 | 55 | abstract protected function can($action): bool; |
| 52 | 56 | } |
@@ -32,5 +32,9 @@ |
||
| 32 | 32 | abstract protected function init(); |
| 33 | 33 | abstract protected function bound(); |
| 34 | 34 | abstract protected function crud(): CRUD; |
| 35 | + |
|
| 36 | + /** |
|
| 37 | + * @param string $action |
|
| 38 | + */ |
|
| 35 | 39 | abstract protected function can($action): bool; |
| 36 | 40 | } |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | * Handle relation search action. |
| 13 | 13 | * Currently used for SelectField with type `select2` and `ajax = true`. |
| 14 | 14 | * |
| 15 | - * @param string $field |
|
| 16 | - * @param string $page |
|
| 17 | - * @param string $term |
|
| 18 | 15 | * @return \Illuminate\Http\JsonResponse |
| 19 | 16 | */ |
| 20 | 17 | public function searchRelation(Request $request) |
@@ -39,5 +39,9 @@ |
||
| 39 | 39 | abstract protected function init(); |
| 40 | 40 | abstract protected function bound(); |
| 41 | 41 | abstract protected function crud(): CRUD; |
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @param string $action |
|
| 45 | + */ |
|
| 42 | 46 | abstract protected function can($action): bool; |
| 43 | 47 | } |