SproutCMS

This is the code documentation for the SproutCMS project

function allMatch()

All field values must match (e.g. password1 and password2 must match)

Usage

void Validity::allMatch ( array $vals );

Example

$valid->multipleCheck(['password1', 'password2'], 'Validity::allMatch')

Arguments

  1. array $vals
    Values to check

Exceptions thrown

Return value

  • void