view Validator.inc @ 101:408ffecc9076

Added link to the official repository
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Wed, 01 Oct 2014 15:36:17 +0200
parents 2370f4450983
children
line wrap: on
line source

<?php
include_once 'ScriptIncludeCache.inc';

/// @cond
$baseDir = dirname(__FILE__);
$cache = ScriptIncludeCache::instance(__FILE__);
/// @endcond

/**
 * This is the base class for all validators
 */
abstract class Validator
{
  /**
   * Performs the check if input is valid
   *
   * @return bool if the check went through
   */
  abstract function check();
}
?>