SproutCMS

This is the code documentation for the SproutCMS project

function required()

Checks various fields are required
If a field is required and no value is provided, no other validation will be proessed for that field.

Usage

void $Validator->required ( array $fields );

Arguments

  1. array $fields
    Fields to check

Return value

  • void