Mercurial > SimpleWebPresenter
view Validator.inc.php @ 134:b6b4a58c7625
Using .inc.php rather than just .inc for include files.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 22 Jan 2023 19:22:00 +0100 |
| parents | Validator.inc@2370f4450983 |
| children |
line wrap: on
line source
<?php include_once 'ScriptIncludeCache.inc.php'; /// @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(); } ?>
