7 * This source file is subject to the new BSD license that is bundled
8 * with this package in the file LICENSE.txt.
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
18 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
22 /** Zend_Form_DisplayGroup */
23 require_once 'Zend/Form/DisplayGroup.php';
26 * Dijit-enabled DisplayGroup
28 * @uses Zend_Form_DisplayGroup
31 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
32 * @license http://framework.zend.com/license/new-bsd New BSD License
33 * @version $Id: DisplayGroup.php 16204 2009-06-21 18:58:29Z thomas $
35 class Zend_Dojo_Form_DisplayGroup
extends Zend_Form_DisplayGroup
41 * @param Zend_Loader_PluginLoader $loader
42 * @param array|Zend_Config|null $options
45 public function __construct($name, Zend_Loader_PluginLoader
$loader, $options = null)
47 parent
::__construct($name, $loader, $options);
48 $this->addPrefixPath('Zend_Dojo_Form_Decorator', 'Zend/Dojo/Form/Decorator');
54 * Ensures that the view object has the dojo view helper path set.
56 * @param Zend_View_Interface $view
57 * @return Zend_Dojo_Form_Element_Dijit
59 public function setView(Zend_View_Interface
$view = null)
62 if (false === $view->getPluginLoader('helper')->getPaths('Zend_Dojo_View_Helper')) {
63 $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
66 return parent
::setView($view);