|
Previous Page |
Solar_Filter_SanitizeBool |
Next Class |
sanitizeBool()
public
bool
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.