SproutCMS

This is the code documentation for the SproutCMS project

function timeMySQL()

Checks if a value is a time in MySQL format (HH:MM:SS)

Usage

void Validity::timeMySQL ( string $val );

Example

$valid->check('event_time', 'Validity::timeMySQL')

Arguments

  1. string $val
    Value to check

Exceptions thrown

Return value

  • void