view Validator.inc @ 127:14959382c901

Mark static function.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Wed, 28 Dec 2022 01:05:01 +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();
}
?>