view Validator.inc @ 98:f2d52fed708c

Split retrieval and production of urls. Support for stylesheets in sitemap.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Fri, 19 Oct 2012 01:36:22 +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();
}
?>