function MCAPI::createFolder in Mailchimp 6.2
Same name and namespace in other branches
- 7 MCAPI.class.php \MCAPI::createFolder()
Create a new folder to file campaigns in
@section Helper @example mcapi_createFolder.php @example xml-rpc_createFolder.php
Parameters
string $name a unique name for a folder:
Return value
integer the folder_id of the newly created folder.
File
- ./
MCAPI.class.php, line 1783
Class
Code
function createFolder($name) {
$params = array();
$params["name"] = $name;
return $this
->callServer("createFolder", $params);
}