1: <?php
2:
3: namespace utiliy;
4:
5: /**
6: * This is an Interface for the serialpation from sql-result to formatted string
7: * @author stubbfel
8: * @since 01.07.2013
9: */
10: interface SerialManager {
11:
12: /**
13: * Convert an array from the SPS to a formatted string
14: * @param array [num] [assoc] $result
15: * @return string
16: */
17: public function arrayToSps($result);
18:
19: /**
20: * Convert an array from the PIS to a formatted string
21: * @param array [num] [assoc] $result
22: * @return string
23: */
24: public function arrayToPis($result);
25:
26: /**
27: * Convert an array from the PSS to a formatted string
28: * @param array [num] [assoc] $result
29: * @return string
30: */
31: public function arrayToPss($result);
32: }
33:
34: ?>
35: