/** * @return array */ public function AjaxMessagesGetFlags() { $sFolderFullNameRaw = (string) $this->getParamValue('Folder', ''); $aUids = $this->getParamValue('Uids', array()); if (0 === strlen(trim($sFolderFullNameRaw)) || !is_array($aUids)) { throw new \ProjectSeven\Exceptions\ClientException(\ProjectSeven\Notifications::InvalidInputParameter); } $oAccount = $this->getAccountFromParam(); $aMessageFlags = $this->oApiMail->MessageFlags($oAccount, $sFolderFullNameRaw, $aUids); return $this->DefaultResponse($oAccount, __FUNCTION__, $aMessageFlags); }