Class WFSensitiveDataFormatter

Description

The SensitiveData formatter takes a string of sensitive data and blocks out certain pieces of the info.

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

WFObject
   |
   --WFFormatter
      |
      --WFSensitiveDataFormatter
Variable Summary
Method Summary
void setShowBeginCharacters (integer $s)
void setShowEndCharacters (integer $s)
void stringForValue ( $value)
void valueForString ( $string,  &$error)
Variables
string $redactedChr = 'X' (line 590)
  • var: The character to use in place of redacted chars.
  • access: protected
string $showBeginCharacters = 0 (line 586)
  • var: The number of characters as the beginning of the string to reveal.
  • access: protected
integer $showEndCharacters = 4 (line 582)
  • var: The number of characters at the end of the string to reveal.
  • access: protected
Methods
setShowBeginCharacters (line 631)

Set the number of characters at the beginning of the string to reveal.

void setShowBeginCharacters (integer $s)
  • integer $s
setShowEndCharacters (line 621)

Set the number of characters at the end of the string to reveal.

void setShowEndCharacters (integer $s)
  • integer $s
stringForValue (line 592)
void stringForValue ( $value)
  • $value

Redefinition of:
WFFormatter::stringForValue()
Retrieve a string for the passed in value.
valueForString (line 610)
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 Wed, 12 Nov 2008 23:45:47 -0500 by phpDocumentor 1.4.1