@@ -145,8 +145,7 @@ public function renderStraight($container = null)
145145 * script. Default is to use the container registered in the helper.
146146 * @param null|string|array $partial [optional] partial view script to use.
147147 * 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.
150149 * @return string
151150 * @throws Exception\RuntimeException if no partial provided
152151 * @throws Exception\InvalidArgumentException if partial is invalid array
@@ -169,8 +168,7 @@ public function renderPartial($container = null, $partial = null)
169168 * script. Default is to use the container registered in the helper.
170169 * @param null|string|array $partial [optional] partial view script to use.
171170 * 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.
174172 * @return string
175173 * @throws Exception\RuntimeException if no partial provided
176174 * @throws Exception\InvalidArgumentException if partial is invalid array
@@ -206,8 +204,7 @@ public function getLinkLast()
206204 * Sets which partial view script to use for rendering menu.
207205 *
208206 * @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.
211208 * @return Breadcrumbs
212209 */
213210 public function setPartial ($ partial )
@@ -303,8 +300,7 @@ protected function renderPartialModel(array $params, $container, $partial)
303300 if (count ($ partial ) != 2 ) {
304301 throw new Exception \InvalidArgumentException (
305302 '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 '
308304 );
309305 }
310306
0 commit comments