package MUtil
subpackage Form_Element
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.6.5

 Methods

Constructor

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

$spec may be:

  • string: name of element
  • array: options with which to configure element
  • \Zend_Config: \Zend_Config with options for configuring element

Parameters

$spec

stringarray\Zend_Config

$options

array\Zend_Config

Exceptions

\Zend_Form_Exception if no element name after initialization

Load default decorators

loadDefaultDecorators() : \Zend_Form_Element

Returns

\Zend_Form_Element