function MCAPI::listMergeVars in Mailchimp 5.2
Same name and namespace in other branches
- 5 MCAPI.class.php \MCAPI::listMergeVars()
- 6.2 MCAPI.class.php \MCAPI::listMergeVars()
- 6 MCAPI.class.php \MCAPI::listMergeVars()
- 7 MCAPI.class.php \MCAPI::listMergeVars()
Get the list of merge tags for a given list, including their name, tag, and required setting
Related
@example xml-rpc_listMergeVars.php
@returnf string name Name of the merge field @returnf char req Denotes whether the field is required (Y) or not (N) @returnf string tag The merge tag that's used for forms and listSubscribe() and listUpdateMember()
Parameters
string $id the list id to connect to:
Return value
array list of merge tags for the list
File
- ./
MCAPI.class.php, line 621
Class
Code
function listMergeVars($id) {
$params = array();
$params["id"] = $id;
return $this
->callServer("listMergeVars", $params);
}