|
@@ 183-190 (lines=8) @@
|
| 180 |
|
return Utilities\ensureIsArray($response); |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
public function createCalendars($names, BaseFolderIdType $parentFolder = null, $options = array()) |
| 184 |
|
{ |
| 185 |
|
if ($parentFolder === null) { |
| 186 |
|
$parentFolder = $this->getDistinguishedFolderId('calendar'); |
| 187 |
|
} |
| 188 |
|
|
| 189 |
|
return $this->createFolders($names, $parentFolder, $options, 'IPF.Appointment'); |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
public function createContactsFolder($names, BaseFolderIdType $parentFolder = null, $options = array()) |
| 193 |
|
{ |
|
@@ 192-199 (lines=8) @@
|
| 189 |
|
return $this->createFolders($names, $parentFolder, $options, 'IPF.Appointment'); |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
public function createContactsFolder($names, BaseFolderIdType $parentFolder = null, $options = array()) |
| 193 |
|
{ |
| 194 |
|
if ($parentFolder === null) { |
| 195 |
|
$parentFolder = $this->getDistinguishedFolderId('contacts'); |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
return $this->createFolders($names, $parentFolder, $options, 'IPF.Contact'); |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
public function createFolders($names, BaseFolderIdType $parentFolder, $options = array(), $folderClass = null) |
| 202 |
|
{ |