SproutCMS

This is the code documentation for the SproutCMS project

function allUnique()

All field values must be unique (e.g. home phone and work phone cannot be the same)

Usage

void Validity::allUnique ( array $vals );

Example

$valid->multipleCheck(['home_phone', 'work_phone'], 'Validity::allUnique')

Arguments

  1. array $vals
    Values to check

Exceptions thrown

Return value

  • void