This component allows for the creation of repeatable components or groups of components.
Located in /polyphony/main/library/Wizard/Components/WRepeatableComponentCollection.class.php (line 24)
SObject | --WizardComponent | --WizardComponentWithChildren | --WRepeatableComponentCollection
Class | Description |
---|---|
WAddFromListRepeatableComponentCollection | 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. |
WNewOnlyEditableRepeatableComponentCollection | 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. |
WOrderedRepeatableComponentCollection | This component allows for the creation of ordered repeatable components or groups of components. |
a wizard representation for style collections |
Inherited from WizardComponentWithChildren
WizardComponentWithChildren::$_children
Inherited from WizardComponent
WizardComponent::$_enabled
WizardComponent::$_enabledSticky
WizardComponent::$_parent
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.
Returns the values of wizard-components. Should return an array if children are involved, otherwise a whatever type of object is expected.
Returns a block of XHTML-valid code that contains markup for this specific component.
Set the label to use on the addButton
Sets this step's content text.
This text will be parsed with Wizard::parseText()
Sets the textual layout of each element in the collection. They will be surrounded by html DIV tags.
Sets if this component will be enabled or disabled.
Sets the maximum number of elements that we allow in this collection. A value of "-1" is no limit.
Sets the minimum number of elements that we allow in the collection.
Set the label to use on the remove button
Sets the number of elements to display as a starting value.
A wrapper for addValueCollection which adds a ValueCollection for every element in the array passet, to allow for adding values to nested RepeatableComponentCollections.
Tells the wizard component to update itself - this may include getting form post data or validation - whatever this particular component wants to do every pageload.
Sets the Component to prefix each "collection" or value with the return value of this function. The function will be passed: the index of the value (starting from zero) and a hash of the values.
Returns true if this component (and all child components if applicable) have valid values.
By default, this will just return TRUE. Validate should be called usually before a save event is handled, to make sure everything went smoothly.
Adds a new element to the end of the list.
Makes sure we have $num collections available.
Returns the values for the given item.
Removes the elements from our list.
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:15 -0400 by phpDocumentor 1.3.0RC3