Class WHiddenField

Description

This class allows for the creation of a input type='hidden'

Located in /polyphony/main/library/Wizard/Components/WHiddenField.class.php (line 25)

SObject
   |
   --WizardComponent
      |
      --WHiddenField
Variable Summary
mixed $_value
Method Summary
ref fromString (string $aString)
mixed getAllValues ()
string getMarkup (string $fieldName)
void setValue (string $value)
boolean update (string $fieldName)
ref withValue (string $value)
Variables
Methods
fromString (line 51)

Virtual Constructor with fromString naming convention

  • return: object
  • static:
  • access: public
ref fromString (string $aString)
  • string $aString
getAllValues (line 89)

Returns the values of wizard-components. Should return an array if children are involved, otherwise a whatever type of object is expected.

In this case, a "1" or a "0" is returned, depending on the checked state of the checkbox.

  • access: public
mixed getAllValues ()

Redefinition of:
WizardComponent::getAllValues()
Returns the values of wizard-components. Should return an array if children are involved, otherwise a whatever type of object is expected.
getMarkup (line 101)

Returns a block of XHTML-valid code that contains markup for this specific component.

  • access: public
string getMarkup (string $fieldName)
  • string $fieldName: The field name to use when outputting form data or similar parameters/information.

Redefinition of:
WizardComponent::getMarkup()
Returns a block of XHTML-valid code that contains markup for this specific component.
setValue (line 63)

Sets the value of this hidden field.

  • access: public
void setValue (string $value)
  • string $value
update (line 76)

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.

  • return: - TRUE if everything is OK
  • access: public
boolean update (string $fieldName)
  • string $fieldName: The field name to use when outputting form data or similar parameters/information.

Redefinition of:
WizardComponent::update()
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.
withValue (line 38)

Virtual Constructor

  • return: object
  • static:
  • access: public
ref withValue (string $value)
  • string $value

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:28:01 -0400 by phpDocumentor 1.3.0RC3