You are here

function MCAPI::createFolder in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 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 1481

Class

MCAPI

Code

function createFolder($name) {
  $params = array();
  $params["name"] = $name;
  return $this
    ->callServer("createFolder", $params);
}