function CampaignMonitor::templateUpdate in Campaign Monitor 6.3
Same name and namespace in other branches
- 6.2 lib/CMBase.php \CampaignMonitor::templateUpdate()
*
Parameters
string $template_id (TemplateID) ID of the template to be updated: * @param string $template_name (TemplateName) Name of the template * @param string $html_url (HTMLPageURL) URL of the HTML page you have created for the template * @param string $zip_url (ZipFileURL) URL of a zip file containing any other files required by the template * @param string $screenshot_url (ScreenshotURL) URL of a screenshot of the template * @see http://www.campaignmonitor.com/api/method/template-update/
File
- lib/
CMBase.php, line 1534
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function templateUpdate($template_id, $template_name, $html_url, $zip_url, $screenshot_url) {
return $this
->makeCall('Template.Update', array(
'params' => array(
'TemplateID' => $template_id,
'TemplateName' => $template_name,
'HTMLPageURL' => $html_url,
'ZIPFileURL' => $zip_url,
'ScreenshotURL' => $screenshot_url,
),
));
}