PageRenderTime 162ms CodeModel.GetById 80ms app.highlight 1ms RepoModel.GetById 80ms app.codeStats 0ms

/saf/lib/XML/RelaxNG/Type/Empty.php

https://github.com/lux/sitellite
PHP | 15 lines | 10 code | 2 blank | 3 comment | 1 complexity | d828fc11e76158d8a08359e542b13811 MD5 | raw file
 1<?php
 2
 3/**
 4 * @package XML
 5 */
 6class RNGType_empty extends RNGType {
 7	function validate ($value) {
 8		if (empty ($value)) {
 9			return true;
10		}
11		return false;
12	}
13}
14
15?>