1 <?php
2
3 /**
4 * Interface for data saving
5 *
6 * @package uix
7 * @author David Cramer
8 * @license GPL-2.0+
9 * @link
10 * @copyright 2016 David Cramer
11 */
12 namespace uix\data;
13
14 interface save {
15
16
17 /**
18 * save data to database
19 *
20 * @since 1.0.0
21 * @access public
22 */
23 public function save_data();
24
25 /**
26 * get the objects data store key
27 * @since 1.0.0
28 * @access public
29 * @return string $store_key the defined option name for this UIX object
30 */
31 public function store_key();
32
33 }
34