Form/Element/Submit.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
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Form
- Subpackage
- Element
\Zend_Form_Element_Submit
Package: Zend_Form\Element
Submit form element
- Parent(s)
- \Zend_Form_Element_Xhtml < \Zend_Form_Element
- Children
- \Zend_Form_Element_Reset
- \Zend_Form_Element_Button
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties
Methods
__construct(string | array | \Zend_Config $spec, string | array | \Zend_Config $options = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$spec | string | array | \Zend_Config | Element name or configuration |
$options | string | array | \Zend_Config | Element value or configuration |
getLabel() : string
Return label
If no label is present, returns the currently set name.
If a translator is present, returns the translated label.
ReturnsType | Description |
---|---|
string |
loadDefaultDecorators() : \Zend_Form_Element_Submit
Default decorators
Uses only 'Submit' and 'DtDdWrapper' decorators by default.
ReturnsType | Description |
---|---|
\Zend_Form_Element_Submit |