Class Varien_Data_Form_Abstract

Description

Abstract class for form, coumn and fieldset

Located in /Data/Form/Abstract.php (line 35)

Varien_Object
   |
   --Varien_Data_Form_Abstract
Direct descendents
Class Description
Varien_Data_Form_Element_Abstract Data form abstract class
Varien_Data_Form Data form
Variable Summary
Method Summary
Varien_Data_Form_Abstract __construct ([array $attributes = array()])
Varien_Data_Form_Element_Column addColumn (string $elementId, array $config)
Varien_Data_Form_Element_Abstract addField (string $elementId, string $type, array $config, [mixed $after = false])
Varien_Data_Form_Element_Fieldset addFieldset (string $elementId, unknown_type $config, [unknown_type $after = false])
Varien_Data_Form_Abstract addType (string $type, string $className)
Varien_Data_Form_Abstract removeField (string $elementId)
array __toArray ([ $arrAttributes = array()])
Variables

Form level elements collection

  • access: protected

Redefined in descendants as:
unknown_type $_types = array() (line 50)

Element type classes

  • access: protected

Inherited Variables

Inherited from Varien_Object

Varien_Object::$_data
Varien_Object::$_hasDataChanges
Varien_Object::$_idFieldName
Varien_Object::$_isDeleted
Varien_Object::$_origData
Varien_Object::$_underscoreCache
Methods
Constructor __construct (line 57)

Enter description here...

  • access: public
Varien_Data_Form_Abstract __construct ([array $attributes = array()])
  • array $attributes

Redefinition of:
Varien_Object::__construct()
Constructor

Redefined in descendants as:
addColumn (line 163)

Enter description here...

  • access: public
Varien_Data_Form_Element_Column addColumn (string $elementId, array $config)
  • string $elementId
  • array $config
addElement (line 94)

Add form element

  • access: public
Varien_Data_Form addElement (Varien_Data_Form_Element_Abstract $element, [ $after = null])

Redefined in descendants as:
addField (line 114)

Add child element

if $after parameter is false - then element adds to end of collection if $after parameter is null - then element adds to befin of collection if $after parameter is string - then element adds after of the element with some id

  • access: public
Varien_Data_Form_Element_Abstract addField (string $elementId, string $type, array $config, [mixed $after = false])
  • string $elementId
  • string $type
  • array $config
  • mixed $after

Redefined in descendants as:
addFieldset (line 148)

Enter description here...

  • access: public
Varien_Data_Form_Element_Fieldset addFieldset (string $elementId, unknown_type $config, [unknown_type $after = false])
  • string $elementId
  • unknown_type $config
  • unknown_type $after
addType (line 69)

Enter description here...

  • access: public
Varien_Data_Form_Abstract addType (string $type, string $className)
  • string $type
  • string $className
getElements (line 80)

Enter description here...

  • access: public
removeField (line 134)

Enter description here...

  • access: public
Varien_Data_Form_Abstract removeField (string $elementId)
  • string $elementId

Redefined in descendants as:
__toArray (line 178)

Enter description here...

  • access: public
array __toArray ([ $arrAttributes = array()])
  • array $arrAttributes

Redefinition of:
Varien_Object::__toArray()
Convert object attributes to array

Inherited Methods

Inherited From Varien_Object

Varien_Object::__construct()
Varien_Object::addData()
Varien_Object::dataHasChangedFor()
Varien_Object::debug()
Varien_Object::flagDirty()
Varien_Object::getData()
Varien_Object::getDataSetDefault()
Varien_Object::getDataUsingMethod()
Varien_Object::getId()
Varien_Object::getIdFieldName()
Varien_Object::getOrigData()
Varien_Object::hasData()
Varien_Object::hasDataChanges()
Varien_Object::isDeleted()
Varien_Object::isDirty()
Varien_Object::isEmpty()
Varien_Object::offsetExists()
Varien_Object::offsetGet()
Varien_Object::offsetSet()
Varien_Object::offsetUnset()
Varien_Object::serialize()
Varien_Object::setData()
Varien_Object::setDataChanges()
Varien_Object::setDataUsingMethod()
Varien_Object::setId()
Varien_Object::setIdFieldName()
Varien_Object::setOrigData()
Varien_Object::toArray()
Varien_Object::toJson()
Varien_Object::toString()
Varien_Object::toXml()
Varien_Object::unsetData()
Varien_Object::_camelize()
Varien_Object::_construct()
Varien_Object::_getData()
Varien_Object::_prepareArray()
Varien_Object::_underscore()
Varien_Object::__call()
Varien_Object::__get()
Varien_Object::__set()
Varien_Object::__toArray()
Varien_Object::__toJson()
Varien_Object::__toXml()

Documentation generated on Fri, 11 Feb 2011 16:53:13 +0200 by phpDocumentor 1.4.3