Class ErrorCheckingWizardComponent

Description

Defines a component that makes use of the Wizard's javascript error checking abilities.

Located in /polyphony/main/library/Wizard/ErrorCheckingWizardComponent.abstract.php (line 26)

SObject
   |
   --WizardComponent
      |
      --ErrorCheckingWizardComponent
Direct descendents
Class Description
WStyleComponent This class allows for the creation of a Style Component selector.
WTextInput This adds an input type='text' field to a Wizard.
Variable Summary
Method Summary
ref getErrorRule ()
string getErrorStyle ()
string getErrorText ()
void setErrorRule (mixed $rule, string $regex)
void setErrorStyle (string $style)
void setErrorText (string $text)
Variables
mixed $_errorMessage = null (line 30)
mixed $_errorRule = null (line 29)
mixed $_errorStyle = "color: red;" (line 31)

Inherited Variables

Inherited from WizardComponent

WizardComponent::$_enabled
WizardComponent::$_enabledSticky
WizardComponent::$_parent
Methods
getErrorRule (line 68)

Returns the error WECRule.

  • return: object
  • access: public
ref getErrorRule ()
getErrorStyle (line 86)

Returns the error text CSS style.

  • access: public
string getErrorStyle ()
getErrorText (line 77)

Returns the error text.

  • access: public
string getErrorText ()
setErrorRule (line 39)

Sets this element's regular expression. Its value must match this to be considered valid.

  • access: public
void setErrorRule (mixed $rule, string $regex)
  • string $regex
setErrorStyle (line 59)

Sets the CSS style of the error text.

  • access: public
void setErrorStyle (string $style)
  • string $style
setErrorText (line 49)

Sets the text to be displayed if an error occurs.

  • access: public
void setErrorText (string $text)
  • string $text

Inherited Methods

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:23:03 -0400 by phpDocumentor 1.3.0RC3