First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
29
sites/all/modules/civicrm/api/Wrapper.php
Normal file
29
sites/all/modules/civicrm/api/Wrapper.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Interface API_Wrapper
|
||||
*/
|
||||
interface API_Wrapper {
|
||||
|
||||
/**
|
||||
* Interface for interpreting api input.
|
||||
*
|
||||
* @param array $apiRequest
|
||||
*
|
||||
* @return array
|
||||
* modified $apiRequest
|
||||
*/
|
||||
public function fromApiInput($apiRequest);
|
||||
|
||||
/**
|
||||
* Interface for interpreting api output.
|
||||
*
|
||||
* @param array $apiRequest
|
||||
* @param array $result
|
||||
*
|
||||
* @return array
|
||||
* modified $result
|
||||
*/
|
||||
public function toApiOutput($apiRequest, $result);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue