Mercurial > SimpleWebPresenter
view Validator.inc @ 131:6b882fb6ea46
Do not add '/' at end if we have encoded all params.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 21 Jan 2023 16:43:41 +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(); } ?>
