Class WFBooleanFormatter

Description

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

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

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 435)
  • var: The NO value.
  • access: protected
string $yesValue (line 431)
  • var: The YES value.
  • access: protected
Methods
Constructor __construct (line 437)
WFBooleanFormatter __construct ()

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

Set the NO value.

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

Set the YES value.

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

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

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::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()

Documentation generated on Thu, 17 Apr 2008 13:51:45 -0400 by phpDocumentor 1.4.1