Solar_Filter_SanitizeBool::sanitizeBool()
public
bool
Solar_Filter_SanitizeBool::sanitizeBool
( mixed $value
)
Forces the value to a boolean.
Parameters
(mixed)
$value
: The value to sanitize.
Returns
(bool) The sanitized value.
Description
Forces the value to a boolean.
Note that this recognizes $this->_true and $this->_false values.