@@ -94,7 +94,7 @@ |
||
| 94 | 94 | /** |
| 95 | 95 | * Inject the settings |
| 96 | 96 | * |
| 97 | - * @param array $settings |
|
| 97 | + * @param string[] $settings |
|
| 98 | 98 | * @return void |
| 99 | 99 | */ |
| 100 | 100 | public function injectSettings( array $settings ) |
@@ -45,7 +45,6 @@ discard block |
||
| 45 | 45 | * Returns the HTML code for a copy of a resource object |
| 46 | 46 | * |
| 47 | 47 | * @param string Resource location, e.g. "product" |
| 48 | - * @param string $sitecode Unique site code |
|
| 49 | 48 | * @param integer $id Unique resource ID |
| 50 | 49 | * @return string Generated output |
| 51 | 50 | */ |
@@ -60,7 +59,6 @@ discard block |
||
| 60 | 59 | * Returns the HTML code for a new resource object |
| 61 | 60 | * |
| 62 | 61 | * @param string Resource location, e.g. "product" |
| 63 | - * @param string $sitecode Unique site code |
|
| 64 | 62 | * @return string Generated output |
| 65 | 63 | */ |
| 66 | 64 | public function createAction( $site = 'default', $resource ) |
@@ -74,7 +72,6 @@ discard block |
||
| 74 | 72 | * Deletes the resource object or a list of resource objects |
| 75 | 73 | * |
| 76 | 74 | * @param string Resource location, e.g. "product" |
| 77 | - * @param string $sitecode Unique site code |
|
| 78 | 75 | * @param integer $id Unique resource ID |
| 79 | 76 | * @return string Generated output |
| 80 | 77 | */ |
@@ -89,7 +86,6 @@ discard block |
||
| 89 | 86 | * Returns the HTML code for the requested resource object |
| 90 | 87 | * |
| 91 | 88 | * @param string Resource location, e.g. "product" |
| 92 | - * @param string $sitecode Unique site code |
|
| 93 | 89 | * @param integer $id Unique resource ID |
| 94 | 90 | * @return string Generated output |
| 95 | 91 | */ |
@@ -104,7 +100,6 @@ discard block |
||
| 104 | 100 | * Saves a new resource object |
| 105 | 101 | * |
| 106 | 102 | * @param string Resource location, e.g. "product" |
| 107 | - * @param string $sitecode Unique site code |
|
| 108 | 103 | * @return string Generated output |
| 109 | 104 | */ |
| 110 | 105 | public function saveAction( $site = 'default', $resource ) |
@@ -118,7 +113,6 @@ discard block |
||
| 118 | 113 | * Returns the HTML code for a list of resource objects |
| 119 | 114 | * |
| 120 | 115 | * @param string Resource location, e.g. "product" |
| 121 | - * @param string $sitecode Unique site code |
|
| 122 | 116 | * @return string Generated output |
| 123 | 117 | */ |
| 124 | 118 | public function searchAction( $site = 'default', $resource ) |
@@ -132,7 +126,7 @@ discard block |
||
| 132 | 126 | * Returns the resource controller |
| 133 | 127 | * |
| 134 | 128 | * @param string $sitecode Unique site code |
| 135 | - * @return \Aimeos\MShop\Context\Item\Iface Context item |
|
| 129 | + * @return \Aimeos\Admin\JQAdm\Iface Context item |
|
| 136 | 130 | */ |
| 137 | 131 | protected function createClient( $sitecode, $resource ) |
| 138 | 132 | { |
@@ -166,6 +166,7 @@ |
||
| 166 | 166 | * @param string $sitecode Unique site code |
| 167 | 167 | * @param string Resource location, e.g. "product/property/type" |
| 168 | 168 | * @param string $lang Language code |
| 169 | + * @param string $resource |
|
| 169 | 170 | * @return \Aimeos\Admin\JsonAdm\Iface JsonAdm client |
| 170 | 171 | */ |
| 171 | 172 | protected function createClient( $sitecode, $resource, $lang ) |