Previous Page
locale()

Solar_Filter_ValidateString
validateString()

Next Class
Solar_Filter_ValidateUpload

validateString()

public bool validateString ( mixed $value )

Validates that the value can be represented as a string.

Parameters

  • (mixed) $value: The value to validate.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value can be represented as a string.

Essentially, this means any scalar value is valid (no arrays, objects, resources, etc).