refactor to have createupdate and delete methods

This commit is contained in:
2016-03-15 21:56:18 +01:00
parent 42d242b56b
commit 4d7ea19c7f
2 changed files with 98 additions and 21 deletions

View File

@ -22,6 +22,18 @@ function fulcrm_webhook_menu() {
return $items;
}
function fulcrm_webhook_user_fulcrm_find_entity( $fulcrm_type, $fulcrm_pk ) {
function fulcrm_webhook_create_entity_for_fulcrm_person( &$vars ) {
// $vars[ 'data' ];
// $vars[ 'entity' ] = XXX;
// $vars[ 'entity_type' ] = 'user';
// $vars[ 'entity_id' ] = XXX;
}
function fulcrm_webhook_update_entity_for_fulcrm_person( &$vars ) {
// $vars[ 'data' ];
// $vars[ 'entity' ];
}
function fulcrm_webhook_delete_entity_for_fulcrm_person( &$vars ) {
// $vars[ 'entity' ];
}