Mercurial > SimpleWebPresenter
comparison OnlineValidator.inc @ 93:8aadd7a23b68
Moved some functionality from common-functions into Http class.
Reorganized Validator into a class hierarchy.
Added functionality for validating with a buffer in addition to URLs.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 18 Oct 2012 16:44:48 +0200 |
| parents | |
| children | 2370f4450983 |
comparison
equal
deleted
inserted
replaced
| 92:f468365813c9 | 93:8aadd7a23b68 |
|---|---|
| 1 <?php | |
| 2 include_once 'ScriptIncludeCache.inc'; | |
| 3 | |
| 4 /// @cond | |
| 5 $baseDir = dirname(__FILE__); | |
| 6 $cache = ScriptIncludeCache::instance(__FILE__); | |
| 7 $cache->includeOnce('Validator.inc', $baseDir); | |
| 8 /// @endcond | |
| 9 | |
| 10 | |
| 11 abstract class OnlineValidator extends Validator | |
| 12 { | |
| 13 protected $validator_url = 'http://validator.w3.org/check'; | |
| 14 } | |
| 15 ?> |
