commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / api / Wrapper.php
1 <?php
2
3 /**
4 * Interface API_Wrapper
5 */
6 interface API_Wrapper {
7
8 /**
9 * Interface for interpreting api input.
10 *
11 * @param array $apiRequest
12 *
13 * @return array
14 * modified $apiRequest
15 */
16 public function fromApiInput($apiRequest);
17
18 /**
19 * Interface for interpreting api output.
20 *
21 * @param array $apiRequest
22 * @param array $result
23 *
24 * @return array
25 * modified $result
26 */
27 public function toApiOutput($apiRequest, $result);
28
29 }