import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -30,7 +30,7 @@ require_once 'Zend/Form/Element.php';
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Dijit.php 10076 2008-07-13 12:58:08Z matthew $
|
||||
* @version $Id: Dijit.php 13260 2008-12-15 14:30:35Z matthew $
|
||||
*/
|
||||
abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
{
|
||||
@ -163,6 +163,7 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
if (empty($decorators)) {
|
||||
$this->addDecorator('DijitElement')
|
||||
->addDecorator('Errors')
|
||||
->addDecorator('Description', array('tag' => 'p', 'class' => 'description'))
|
||||
->addDecorator('HtmlTag', array('tag' => 'dd'))
|
||||
->addDecorator('Label', array('tag' => 'dt'));
|
||||
}
|
||||
|
43
libs/Zend/Dojo/Form/Element/SimpleTextarea.php
Normal file
43
libs/Zend/Dojo/Form/Element/SimpleTextarea.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
/** Zend_Dojo_Form_Element_Dijit */
|
||||
require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* dijit.form.SimpleTextArea
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_SimpleTextarea extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
/**
|
||||
* Use SimpleTextarea dijit view helper
|
||||
* @var string
|
||||
*/
|
||||
public $helper = 'SimpleTextarea';
|
||||
}
|
Reference in New Issue
Block a user