m1k1oblog/app/jbbcode/inputvalidator.class.php

22 lines
382 B
PHP
Raw Normal View History

2017-09-24 18:01:23 +00:00
<?php
namespace JBBCode;
2019-12-23 17:53:18 +00:00
defined('PROJECT_PATH') OR exit('No direct script access allowed');
2017-09-24 18:01:23 +00:00
/**
* Defines an interface for validation filters for bbcode options and
* parameters.
*
* @author jbowens
* @since May 2013
*/
interface InputValidator
{
/**
* Returns true iff the given input is valid, false otherwise.
*/
public function validate($input);
}