Previous Page
locale()

Solar_Filter_ValidateNotBlank
validateNotBlank()

Next Class
Solar_Filter_ValidateNotInKeys

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.