Form/Element/Submit.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] 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

>VPropertypublicstring $helper = 'formSubmit'
Default view helper to use
Default value'formSubmit'Details
Type
string

Methods

methodpublic__construct(string | array | \Zend_Config $spec, string | array | \Zend_Config $options = null) : void

Constructor

Parameters
NameTypeDescription
$specstring | array | \Zend_Config

Element name or configuration

$optionsstring | array | \Zend_Config

Element value or configuration

methodpublicgetLabel() : string

Return label

If no label is present, returns the currently set name. If a translator is present, returns the translated label.
Returns
TypeDescription
string
methodpublicisChecked() : bool

Has this submit button been selected?

Returns
TypeDescription
bool
methodpublicloadDefaultDecorators() : \Zend_Form_Element_Submit

Default decorators

Uses only 'Submit' and 'DtDdWrapper' decorators by default.
Returns
TypeDescription
\Zend_Form_Element_Submit
Documentation was generated by phpDocumentor 2.2.0 .