| 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 PixCustomifyProcessor { |
| 14 |
|
| 15 |
/** |
| 16 |
* @return static $this |
| 17 |
*/ |
| 18 |
function run(); |
| 19 |
|
| 20 |
/** |
| 21 |
* @return array |
| 22 |
*/ |
| 23 |
function status(); |
| 24 |
|
| 25 |
/** |
| 26 |
* @return PixCustomifyMeta current data (influenced by user submitted data) |
| 27 |
*/ |
| 28 |
function data(); |
| 29 |
|
| 30 |
/** |
| 31 |
* Shorthand. |
| 32 |
* |
| 33 |
* @return array |
| 34 |
*/ |
| 35 |
function errors(); |
| 36 |
|
| 37 |
/** |
| 38 |
* Shorthand. |
| 39 |
* |
| 40 |
* @return boolean |
| 41 |
*/ |
| 42 |
function performed_update(); |
| 43 |
|
| 44 |
/** |
| 45 |
* @return boolean true if state is nominal |
| 46 |
*/ |
| 47 |
function ok(); |
| 48 |
|
| 49 |
} # interface |
| 50 |
|