API Documentation

Zend/Form/Element/Submit.php

Show: inherited
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 license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id: Submit.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertypublicstring  $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
Name Type Description
$spec string|array|\Zend_Config

Element name or configuration

$options string|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
Type Description
string
methodpublicisChecked( ) : bool

Has this submit button been selected?

Returns
Type Description
bool
methodpublicloadDefaultDecorators( ) : \Zend_Form_Element_Submit

Default decorators

Uses only 'Submit' and 'DtDdWrapper' decorators by default.

Returns
Type Description
\Zend_Form_Element_Submit
Documentation was generated by DocBlox 0.15.1.