コード例 #1
0
function tokens_civicrm_tokenValues(&$values, $cids, $job = null, $tokens = array(), $context = null)
{
    $activity_source_tokens = new CRM_Tokens_ActivitySourceContactTokens();
    $activity_source_tokens->tokenValues($values, $cids, $job, $tokens, $context);
    $technisch_woonconsulent_tokens = new CRM_Tokens_TechnischWoonconsulentTokens();
    $technisch_woonconsulent_tokens->tokenValues($values, $cids, $job, $tokens, $context);
}
 public function __construct()
 {
     if (!self::$technisch_woonconsulent_rel_type_id) {
         self::$technisch_woonconsulent_rel_type_id = civicrm_api3('RelationshipType', 'getvalue', array('return' => 'id', 'name_a_b' => 'Technisch woonconsulent'));
     }
 }