/saf/lib/XML/RelaxNG/Type/Empty.php
PHP | 15 lines | 10 code | 2 blank | 3 comment | 1 complexity | d828fc11e76158d8a08359e542b13811 MD5 | raw file
Possible License(s): Apache-2.0, GPL-2.0, GPL-3.0, LGPL-2.1
- <?php
- /**
- * @package XML
- */
- class RNGType_empty extends RNGType {
- function validate ($value) {
- if (empty ($value)) {
- return true;
- }
- return false;
- }
- }
- ?>