Class WNewOnlyEditableRepeatableComponentCollection

Description

This component allows for the creation of repeatable components or groups of components. Only the newly added comonents are editable. Existing ones can only be removed.

Located in /polyphony/main/library/Wizard/Components/WNewOnlyEditableRepeatableComponentCollection.class.php (line 26)

SObject
   |
   --WizardComponent
      |
      --WizardComponentWithChildren
         |
         --WRepeatableComponentCollection
            |
            --WNewOnlyEditableRepeatableComponentCollection
Method Summary
ref addValueCollection (ref $collection, [boolean $removable = true])
Variables
Methods
addValueCollection (line 37)

Adds a collection of WizardComponents indexed by field name to the list of collections.

This is useful when pre-populating the list with old/previous values.

  • return: array An array of the components created with the values passed.
  • access: public
ref addValueCollection (ref $collection, [boolean $removable = true])
  • boolean $removable: Can this collection be removed by the user?
  • ref $collection: array $collection Indexed by field name.

Redefinition of:
WRepeatableComponentCollection::addValueCollection()
Adds a collection of WizardComponents indexed by field name to the list of collections.

Inherited Methods

Inherited From WRepeatableComponentCollection

WRepeatableComponentCollection::WRepeatableComponentCollection()
WRepeatableComponentCollection::addValueCollection()
WRepeatableComponentCollection::getAllValues()
WRepeatableComponentCollection::getMarkup()
WRepeatableComponentCollection::setAddLabel()
WRepeatableComponentCollection::setContent()
WRepeatableComponentCollection::setElementLayout()
WRepeatableComponentCollection::setEnabled()
WRepeatableComponentCollection::setMaximum()
WRepeatableComponentCollection::setMiminum()
WRepeatableComponentCollection::setRemoveLabel()
WRepeatableComponentCollection::setStartingNumber()
WRepeatableComponentCollection::setValue()
WRepeatableComponentCollection::update()
WRepeatableComponentCollection::usePrefixFunction()
WRepeatableComponentCollection::validate()
WRepeatableComponentCollection::_addElement()
WRepeatableComponentCollection::_ensureNumber()
WRepeatableComponentCollection::_getAllValues()
WRepeatableComponentCollection::_removeElements()

Inherited From WizardComponentWithChildren

WizardComponentWithChildren::addComponent()
WizardComponentWithChildren::getAllValues()
WizardComponentWithChildren::getChild()
WizardComponentWithChildren::getChildren()
WizardComponentWithChildren::removeChild()
WizardComponentWithChildren::setEnabled()
WizardComponentWithChildren::update()
WizardComponentWithChildren::validate()

Inherited From WizardComponent

WizardComponent::getAllValues()
WizardComponent::getMarkup()
WizardComponent::getWizard()
WizardComponent::isEnabled()
WizardComponent::setEnabled()
WizardComponent::setParent()
WizardComponent::update()
WizardComponent::validate()

Inherited From SObject

SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()

Documentation generated on Wed, 19 Sep 2007 10:28:10 -0400 by phpDocumentor 1.3.0RC3