@@ -27,7 +27,6 @@ discard block |
||
27 | 27 | * |
28 | 28 | * @param \Illuminate\Http\Request $request Request object |
29 | 29 | * @param string Resource location, e.g. "product/stock/wareshouse" |
30 | - * @param string $sitecode Unique site code |
|
31 | 30 | * @param integer|null $id Unique resource ID |
32 | 31 | * @return \Illuminate\Http\Response Response object containing the generated output |
33 | 32 | */ |
@@ -48,7 +47,6 @@ discard block |
||
48 | 47 | * |
49 | 48 | * @param \Illuminate\Http\Request $request Request object |
50 | 49 | * @param string Resource location, e.g. "product/stock/wareshouse" |
51 | - * @param string $sitecode Unique site code |
|
52 | 50 | * @param integer|null $id Unique resource ID |
53 | 51 | * @return \Illuminate\Http\Response Response object containing the generated output |
54 | 52 | */ |
@@ -69,7 +67,6 @@ discard block |
||
69 | 67 | * |
70 | 68 | * @param \Illuminate\Http\Request $request Request object |
71 | 69 | * @param string Resource location, e.g. "product/stock/wareshouse" |
72 | - * @param string $sitecode Unique site code |
|
73 | 70 | * @param integer|null $id Unique resource ID |
74 | 71 | * @return \Illuminate\Http\Response Response object containing the generated output |
75 | 72 | */ |
@@ -90,7 +87,6 @@ discard block |
||
90 | 87 | * |
91 | 88 | * @param \Illuminate\Http\Request $request Request object |
92 | 89 | * @param string Resource location, e.g. "product/stock/wareshouse" |
93 | - * @param string $sitecode Unique site code |
|
94 | 90 | * @param integer $id Unique ID of the resource |
95 | 91 | * @return \Illuminate\Http\Response Response object containing the generated output |
96 | 92 | */ |
@@ -111,7 +107,6 @@ discard block |
||
111 | 107 | * |
112 | 108 | * @param \Illuminate\Http\Request $request Request object |
113 | 109 | * @param string Resource location, e.g. "product/stock/wareshouse" |
114 | - * @param string $sitecode Unique site code |
|
115 | 110 | * @param integer|null $id Unique resource ID |
116 | 111 | * @return \Illuminate\Http\Response Response object containing the generated output |
117 | 112 | */ |
@@ -132,7 +127,6 @@ discard block |
||
132 | 127 | * |
133 | 128 | * @param \Illuminate\Http\Request $request Request object |
134 | 129 | * @param string Resource location, e.g. "product/stock/wareshouse" |
135 | - * @param string $sitecode Unique site code |
|
136 | 130 | * @return \Illuminate\Http\Response Response object containing the generated output |
137 | 131 | */ |
138 | 132 | public function optionsAction( Request $request, $site = 'default', $resource = '' ) |
@@ -135,7 +135,7 @@ |
||
135 | 135 | * Creates a list of all available translations. |
136 | 136 | * |
137 | 137 | * @param \Aimeos\MShop\Context\Item\Iface $context Context object |
138 | - * @return array List of language IDs with labels |
|
138 | + * @return string List of language IDs with labels |
|
139 | 139 | */ |
140 | 140 | protected function getJsonLanguages( \Aimeos\MShop\Context\Item\Iface $context ) |
141 | 141 | { |
@@ -30,9 +30,8 @@ discard block |
||
30 | 30 | * Returns the HTML code for a copy of a resource object |
31 | 31 | * |
32 | 32 | * @param string Resource location, e.g. "product" |
33 | - * @param string $sitecode Unique site code |
|
34 | 33 | * @param integer $id Unique resource ID |
35 | - * @return string Generated output |
|
34 | + * @return \Illuminate\Contracts\View\View Generated output |
|
36 | 35 | */ |
37 | 36 | public function copyAction( $site = 'default', $resource, $id ) |
38 | 37 | { |
@@ -49,8 +48,7 @@ discard block |
||
49 | 48 | * Returns the HTML code for a new resource object |
50 | 49 | * |
51 | 50 | * @param string Resource location, e.g. "product" |
52 | - * @param string $sitecode Unique site code |
|
53 | - * @return string Generated output |
|
51 | + * @return \Illuminate\Contracts\View\View Generated output |
|
54 | 52 | */ |
55 | 53 | public function createAction( $site = 'default', $resource ) |
56 | 54 | { |
@@ -67,9 +65,8 @@ discard block |
||
67 | 65 | * Deletes the resource object or a list of resource objects |
68 | 66 | * |
69 | 67 | * @param string Resource location, e.g. "product" |
70 | - * @param string $sitecode Unique site code |
|
71 | 68 | * @param integer $id Unique resource ID |
72 | - * @return string Generated output |
|
69 | + * @return \Illuminate\Contracts\View\View Generated output |
|
73 | 70 | */ |
74 | 71 | public function deleteAction( $site = 'default', $resource, $id ) |
75 | 72 | { |
@@ -86,9 +83,8 @@ discard block |
||
86 | 83 | * Returns the HTML code for the requested resource object |
87 | 84 | * |
88 | 85 | * @param string Resource location, e.g. "product" |
89 | - * @param string $sitecode Unique site code |
|
90 | 86 | * @param integer $id Unique resource ID |
91 | - * @return string Generated output |
|
87 | + * @return \Illuminate\Contracts\View\View Generated output |
|
92 | 88 | */ |
93 | 89 | public function getAction( $site = 'default', $resource, $id ) |
94 | 90 | { |
@@ -105,8 +101,7 @@ discard block |
||
105 | 101 | * Saves a new resource object |
106 | 102 | * |
107 | 103 | * @param string Resource location, e.g. "product" |
108 | - * @param string $sitecode Unique site code |
|
109 | - * @return string Generated output |
|
104 | + * @return \Illuminate\Contracts\View\View Generated output |
|
110 | 105 | */ |
111 | 106 | public function saveAction( $site = 'default', $resource ) |
112 | 107 | { |
@@ -123,8 +118,7 @@ discard block |
||
123 | 118 | * Returns the HTML code for a list of resource objects |
124 | 119 | * |
125 | 120 | * @param string Resource location, e.g. "product" |
126 | - * @param string $sitecode Unique site code |
|
127 | - * @return string Generated output |
|
121 | + * @return \Illuminate\Contracts\View\View Generated output |
|
128 | 122 | */ |
129 | 123 | public function searchAction( $site = 'default', $resource ) |
130 | 124 | { |
@@ -141,7 +135,7 @@ discard block |
||
141 | 135 | * Returns the resource controller |
142 | 136 | * |
143 | 137 | * @param string $sitecode Unique site code |
144 | - * @return \Aimeos\MShop\Context\Item\Iface Context item |
|
138 | + * @return \Aimeos\Admin\JQAdm\Iface Context item |
|
145 | 139 | */ |
146 | 140 | protected function createClient( $sitecode, $resource ) |
147 | 141 | { |