Class WFBooleanFormatter

Description

The Boolean formatter converts between boolean values and YES / NO equivalents.

Located in /framework/widgets/WFFormatter.php (line 506)

WFObject
   |
   --WFFormatter
      |
      --WFBooleanFormatter
Variable Summary
string $noValue
string $yesValue
Method Summary
WFBooleanFormatter __construct ()
void setnoValue (string $s)
void setYesValue (string $s)
void stringForValue ( $value)
void valueForString ( $string,  &$error)
Variables
string $noValue (line 515)
  • var: The NO value.
  • access: protected
string $yesValue (line 511)
  • var: The YES value.
  • access: protected
Methods
Constructor __construct (line 517)
WFBooleanFormatter __construct ()

Redefinition of:
WFFormatter::__construct()
setnoValue (line 568)

Set the NO value.

void setnoValue (string $s)
  • string $s
setYesValue (line 558)

Set the YES value.

void setYesValue (string $s)
  • string $s
stringForValue (line 524)
void stringForValue ( $value)
  • $value

Redefinition of:
WFFormatter::stringForValue()
Retrieve a string for the passed in value.
valueForString (line 533)

Convert a string value into the boolean equivalent.

void valueForString ( $string,  &$error)
  • $string
  • &$error

Redefinition of:
WFFormatter::valueForString()
Retreive a value for the passed in string.

Inherited Methods

Inherited From WFFormatter

WFFormatter::__construct()
WFFormatter::editingStringForValue()
WFFormatter::stringForValue()
WFFormatter::valueForString()

Inherited From WFObject

WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::setValuesForKeys()
WFObject::validatedSetValueForKey()
WFObject::validatedSetValueForKeyPath()
WFObject::validateObject()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForStaticKey()
WFObject::valueForStaticKeyPath()
WFObject::valueForTargetAndKeyPath()
WFObject::valueForUndefinedKey()
WFObject::valueForUndefinedStaticKey()
WFObject::valuesForKeyPaths()
WFObject::valuesForKeys()
WFObject::_valueForStaticKey()
WFObject::__toString()

Documentation generated on Thu, 14 May 2009 16:20:00 -0400 by phpDocumentor 1.4.2