SproutCMS

This is the code documentation for the SproutCMS project

function proseText()

Checks whether a string is made up of the kinds of characters that make up prose

Allowed: letters, numbers, space, punctuation
Allowed punctuation:
   ' " / ! ? @ # $ % & ( ) - : ; . ,

Usage

void Validity::proseText ( string $str );

Example

$valid->check('name', 'Validity::proseText')

Arguments

  1. string $str

Exceptions thrown

Return value

  • void