Esempio n. 1
0
 /**
  * @return array
  */
 public function AjaxFolderDelete()
 {
     $sFolderFullNameRaw = (string) $this->getParamValue('Folder', '');
     if (0 === strlen(trim($sFolderFullNameRaw))) {
         throw new \ProjectSeven\Exceptions\ClientException(\ProjectSeven\Notifications::InvalidInputParameter);
     }
     $oAccount = $this->getAccountFromParam();
     $this->oApiMail->FolderDelete($oAccount, $sFolderFullNameRaw);
     return $this->TrueResponse($oAccount, __FUNCTION__);
 }