equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_View |
16 * @package Zend_View |
17 * @subpackage Helper |
17 * @subpackage Helper |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Breadcrumbs.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: Breadcrumbs.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_View_Helper_Navigation_HelperAbstract |
24 * @see Zend_View_Helper_Navigation_HelperAbstract |
25 */ |
25 */ |
29 * Helper for printing breadcrumbs |
29 * Helper for printing breadcrumbs |
30 * |
30 * |
31 * @category Zend |
31 * @category Zend |
32 * @package Zend_View |
32 * @package Zend_View |
33 * @subpackage Helper |
33 * @subpackage Helper |
34 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
34 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
35 * @license http://framework.zend.com/license/new-bsd New BSD License |
35 * @license http://framework.zend.com/license/new-bsd New BSD License |
36 */ |
36 */ |
37 class Zend_View_Helper_Navigation_Breadcrumbs |
37 class Zend_View_Helper_Navigation_Breadcrumbs |
38 extends Zend_View_Helper_Navigation_HelperAbstract |
38 extends Zend_View_Helper_Navigation_HelperAbstract |
39 { |
39 { |
291 |
291 |
292 if (is_array($partial)) { |
292 if (is_array($partial)) { |
293 if (count($partial) != 2) { |
293 if (count($partial) != 2) { |
294 require_once 'Zend/View/Exception.php'; |
294 require_once 'Zend/View/Exception.php'; |
295 $e = new Zend_View_Exception( |
295 $e = new Zend_View_Exception( |
296 'Unable to render menu: A view partial supplied as ' |
296 'Unable to render menu: A view partial supplied as ' |
297 . 'an array must contain two values: partial view ' |
297 . 'an array must contain two values: partial view ' |
298 . 'script and module where script can be found' |
298 . 'script and module where script can be found' |
299 ); |
299 ); |
300 $e->setView($this->view); |
300 $e->setView($this->view); |
301 throw $e; |
301 throw $e; |
302 } |
302 } |