Mercurial > SimpleWebPresenter
comparison OnlineBufferValidator.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 |
|---|---|
| 7 $cache->includeOnce('Http.inc', $baseDir); | 7 $cache->includeOnce('Http.inc', $baseDir); |
| 8 $cache->includeOnce('OnlineValidator.inc', $baseDir); | 8 $cache->includeOnce('OnlineValidator.inc', $baseDir); |
| 9 /// @endcond | 9 /// @endcond |
| 10 | 10 |
| 11 | 11 |
| 12 /** | |
| 13 * Defines a validator which uses an online validator and a buffer | |
| 14 * with the content | |
| 15 */ | |
| 12 class OnlineBufferValidator extends OnlineValidator | 16 class OnlineBufferValidator extends OnlineValidator |
| 13 { | 17 { |
| 14 | 18 |
| 15 private $buffer; | 19 private $buffer; |
| 16 | 20 |
| 21 /** | |
| 22 * Constructs an OnlineURIValidator | |
| 23 * | |
| 24 * @param $buffer The buffer to validate | |
| 25 */ | |
| 17 function __construct($buffer) | 26 function __construct($buffer) |
| 18 { | 27 { |
| 19 $this->buffer = $buffer; | 28 $this->buffer = $buffer; |
| 20 } | 29 } |
| 21 | 30 |
