@@ -145,8 +145,7 @@ public function renderStraight($container = null)
145
145
* script. Default is to use the container registered in the helper.
146
146
* @param null|string|array $partial [optional] partial view script to use.
147
147
* Default is to use the partial registered in the helper. If an array
148
- * is given, it is expected to contain two values; the partial view
149
- * script to use, and the module where the script can be found.
148
+ * is given, the first value is used for the partial view script.
150
149
* @return string
151
150
* @throws Exception\RuntimeException if no partial provided
152
151
* @throws Exception\InvalidArgumentException if partial is invalid array
@@ -169,8 +168,7 @@ public function renderPartial($container = null, $partial = null)
169
168
* script. Default is to use the container registered in the helper.
170
169
* @param null|string|array $partial [optional] partial view script to use.
171
170
* Default is to use the partial registered in the helper. If an array
172
- * is given, it is expected to contain two values; the partial view
173
- * script to use, and the module where the script can be found.
171
+ * is given, the first value is used for the partial view script.
174
172
* @return string
175
173
* @throws Exception\RuntimeException if no partial provided
176
174
* @throws Exception\InvalidArgumentException if partial is invalid array
@@ -206,8 +204,7 @@ public function getLinkLast()
206
204
* Sets which partial view script to use for rendering menu.
207
205
*
208
206
* @param string|array $partial partial view script or null. If an array is
209
- * given, it is expected to contain two values; the partial view script
210
- * to use, and the module where the script can be found.
207
+ * given, the first value is used for the partial view script.
211
208
* @return Breadcrumbs
212
209
*/
213
210
public function setPartial ($ partial )
@@ -303,8 +300,7 @@ protected function renderPartialModel(array $params, $container, $partial)
303
300
if (count ($ partial ) != 2 ) {
304
301
throw new Exception \InvalidArgumentException (
305
302
'Unable to render breadcrumbs: A view partial supplied as '
306
- . 'an array must contain two values: partial view '
307
- . 'script and module where script can be found '
303
+ . 'an array must contain one value: the partial view script '
308
304
);
309
305
}
310
306
0 commit comments