SproutCMS

This is the code documentation for the SproutCMS project

function inTable()

Checks a value matches an ID in a corresponding table

Usage

void Validity::inTable ( string $val , string $table );

Example

$valid->check('user_id', 'Validity::inTable', 'users')

Arguments

  1. string $val
  2. string $table

Exceptions thrown

Return value

  • void