PHP code example of systopia / de.systopia.remotetools
1. Go to this page and download the library: Download systopia/de.systopia.remotetools library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
systopia / de.systopia.remotetools example snippets
$container->autowire(MyRemoteEntityProfile::class)
->addTag(MyRemoteEntityProfile::SERVICE_TAG);
civicrm_api4('RemoteMyEntity', 'get', ['profile' => 'my-profile']);
$fields_collection->setFieldSpec(
'a_list',
[
'name' => 'a_list'
'type' => CRM_Utils_Type::T_ENUM,
'options': ["dummy"]
]
);