Class Filter_Value
Represents a filtered value.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Value
implements
Core\Comparable,
Core\Equality,
Core\Identity
-
Core\Filter_Value
Package: Core\Filter
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Filter.inc.php
Methods summary
public
|
#
__construct( mixed $value, boolean $unfilteredValue, $errorFlag = null )
Initialises a new value instance. |
public
boolean
|
Methods inherited from Core\Value
__clone(),
__invoke(),
__toString(),
bit(),
bool(),
compareTo(),
explode(),
filter(),
float(),
int(),
isArray(),
isBoolean(),
isCallable(),
isCallback(),
isEqualTo(),
isFloat(),
isIdenticalTo(),
isInteger(),
isNull(),
isNumeric(),
isObject(),
isOffset(),
isResource(),
isScalar(),
isString(),
set(),
string(),
stringObject(),
toArray(),
toLower(),
toUpper()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
attachMethod(),
chain(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Value
Bit,
Boolean,
Float,
Integer,
LowercaseString,
String,
StringObject,
UppercaseString
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
boolean
|
$_v_errorFlag
Filter result error flag. |
|
protected
mixed
|
$_v_unfilteredValue
Unfiltered value. |
Properties inherited from Core\Value
Magic properties
public read-only
boolean
|
$errorFlag
If |
public read-only
mixed
|
$unfilteredValue
Original value fed to filter. |
public read-only
boolean
|
$valid |
Magic properties inherited from Core\Value
$bit,
$bool,
$float,
$int,
$isArray,
$isBoolean,
$isCallable,
$isCallback,
$isFloat,
$isInteger,
$isNull,
$isNumeric,
$isObject,
$isOffset,
$isResource,
$isScalar,
$isString,
$onSet,
$string,
$stringObject,
$value