Previous Page
locale()

Solar_Filter_ValidateUri
validateUri()

Next Class
Solar_Filter_ValidateWord

validateUri()

public bool validateUri ( mixed $value )

Validates the value as a URI.

Parameters

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

Returns

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

Description

Validates the value as a URI.

The value must match a generic URI format; for example, http://example.com, mms://example.org, and so on.