Zend Framework  1.12
Public Member Functions | Public Attributes | List of all members
Zend_Form_Element_Submit Class Reference

Public Member Functions

 __construct ($spec, $options=null)
 Constructor.
 
 getLabel ()
 Return label.
 
 isChecked ()
 Has this submit button been selected?
 
 loadDefaultDecorators ()
 Default decorators.
 

Public Attributes

 $helper = 'formSubmit'
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Form_Element
static resolveElementId (Zend_Form_Decorator_Interface $decorator)
 Used to resolve and return an element ID.
 
- Protected Member Functions inherited from Zend_Form_Element
 _filterValue (&$value, &$key)
 Filter a value.
 
 _getDecorator ($name, $options)
 Instantiate a decorator based on class name or class name fragment.
 
 _loadFilter (array $filter)
 Lazy-load a filter.
 
 _loadValidator (array $validator)
 Lazy-load a validator.
 
 _loadDecorator (array $decorator, $name)
 Lazy-load a decorator.
 
 _getErrorMessages ()
 Retrieve error messages and perform translation and value substitution.
 
 _hasErrorMessages ()
 Are there custom error messages registered?
 
- Protected Attributes inherited from Zend_Form_Element
 $_allowEmpty = true
 
 $_autoInsertNotEmptyValidator = true
 
 $_belongsTo
 
 $_decorators = array()
 
 $_description
 
 $_disableLoadDefaultDecorators = false
 
 $_errorMessages = array()
 
 $_errors = array()
 
 $_errorMessageSeparator = '; '
 
 $_filters = array()
 
 $_ignore = false
 
 $_isArray = false
 
 $_isError = false
 
 $_isErrorForced = false
 
 $_label
 
 $_loaders = array()
 
 $_messages = array()
 
 $_name
 
 $_order
 
 $_required = false
 
 $_translator
 
 $_translatorDisabled = false
 
 $_type
 
 $_validators = array()
 
 $_validatorRules = array()
 
 $_value
 
 $_view
 
 $_isPartialRendering = false
 
 $_concatJustValuesInErrorMessage = false
 

Constructor & Destructor Documentation

__construct (   $spec,
  $options = null 
)

Constructor.

Parameters
string | array | Zend_Config$specElement name or configuration
string | array | Zend_Config$optionsElement value or configuration
Returns
void

Member Function Documentation

getLabel ( )

Return label.

If no label is present, returns the currently set name.

If a translator is present, returns the translated label.

Returns
string
isChecked ( )

Has this submit button been selected?

Returns
bool
loadDefaultDecorators ( )

Default decorators.

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

Returns
Zend_Form_Element_Submit

Member Data Documentation

$helper = 'formSubmit'