Overview of Contact Person
"; $txt .= " Name: " . utf8_encode( $cp->get( 'name' ) ) . "
"; $txt .= " Position:" . utf8_encode( $cp->getPlaintext( position ) ) . "
"; $txt .= "
Informations
"; $cis = $cp->getRelated( 'contactinformations' ); foreach( $cis AS $ci ) { $txt .= " - " . $ci->getPlaintext( "type" ) . " : " . $ci->get( 'value' ) . "
"; } return $txt; } } ?>