SproutCMS

This is the code documentation for the SproutCMS project

function inEnum()

Validates a value meant for an ENUM field

Usage

bool Validity::inEnum ( string $val , string $table , string $col );

Arguments

  1. string $val
  2. string $table
    The DB table which contains the ENUM column
  3. string $col
    The ENUM column

Return value

  • bool