view Validator.inc @ 111:adf7b11921f4

No compression when debugging. Synchronize caching headers.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Tue, 15 Mar 2016 12:55:42 +0100
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();
}
?>