view OnlineValidator.inc @ 94:2370f4450983

Document functions and move a few functions to more appropriate places.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 18 Oct 2012 17:33:34 +0200
parents 8aadd7a23b68
children
line wrap: on
line source

<?php
include_once 'ScriptIncludeCache.inc';

/// @cond
$baseDir = dirname(__FILE__);
$cache = ScriptIncludeCache::instance(__FILE__);
$cache->includeOnce('Validator.inc', $baseDir);
/// @endcond


/**
 * Defines a validator which uses an online validator
 */
abstract class OnlineValidator extends Validator
{
  /**
   * The url where the validator is located
   */
  protected $validator_url = 'http://validator.w3.org/check';
}
?>