| 1 |
<?php defined('ABSPATH') or die; |
| 2 |
|
| 3 |
/* This file is property of Pixel Grade Media. You may NOT copy, or redistribute |
| 4 |
* it. Please see the license that came with your copy for more information. |
| 5 |
*/ |
| 6 |
|
| 7 |
/** |
| 8 |
* @package pixcustomify |
| 9 |
* @category core |
| 10 |
* @author Pixel Grade Team |
| 11 |
* @copyright (c) 2013, Pixel Grade Media |
| 12 |
*/ |
| 13 |
interface PixCustomifyValidator { |
| 14 |
|
| 15 |
/** |
| 16 |
* @return array errors |
| 17 |
*/ |
| 18 |
function validate($input); |
| 19 |
|
| 20 |
/** |
| 21 |
* @param string rule |
| 22 |
* @return string error message |
| 23 |
*/ |
| 24 |
function error_message($rule); |
| 25 |
|
| 26 |
} # interface |
| 27 |
|