comparison 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
comparison
equal deleted inserted replaced
93:8aadd7a23b68 94:2370f4450983
6 $cache = ScriptIncludeCache::instance(__FILE__); 6 $cache = ScriptIncludeCache::instance(__FILE__);
7 $cache->includeOnce('Validator.inc', $baseDir); 7 $cache->includeOnce('Validator.inc', $baseDir);
8 /// @endcond 8 /// @endcond
9 9
10 10
11 /**
12 * Defines a validator which uses an online validator
13 */
11 abstract class OnlineValidator extends Validator 14 abstract class OnlineValidator extends Validator
12 { 15 {
16 /**
17 * The url where the validator is located
18 */
13 protected $validator_url = 'http://validator.w3.org/check'; 19 protected $validator_url = 'http://validator.w3.org/check';
14 } 20 }
15 ?> 21 ?>