comparison Validator.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
4 /// @cond 4 /// @cond
5 $baseDir = dirname(__FILE__); 5 $baseDir = dirname(__FILE__);
6 $cache = ScriptIncludeCache::instance(__FILE__); 6 $cache = ScriptIncludeCache::instance(__FILE__);
7 /// @endcond 7 /// @endcond
8 8
9 9 /**
10 abstract class Validator { 10 * This is the base class for all validators
11 */
12 abstract class Validator
13 {
14 /**
15 * Performs the check if input is valid
16 *
17 * @return bool if the check went through
18 */
11 abstract function check(); 19 abstract function check();
12 } 20 }
13 ?> 21 ?>