|
Previous Page |
Solar_Filter_ValidateNotBlank |
Next Class |
validateNotBlank()
public
bool
validateNotBlank (
mixed $value
)
Validates that the value is not blank whitespace.
Parameters
- (mixed)
$value: The value to validate.
Returns
- (bool) True if valid, false if not.
Description
Validates that the value is not blank whitespace.
Boolean, integer, and float types are never "blank". All other types are converted to string and trimmed; if '', then the value is blank.