as support for message flag

This commit is contained in:
Philip Herbert 2011-03-27 19:02:04 +00:00
parent e40974e360
commit b57bc41e54
2 changed files with 32 additions and 2 deletions

View File

@ -178,7 +178,7 @@ class addressbook_activesync implements activesync_plugin_write, activesync_plug
'parent'=> '0',
);
}
debugLog(__METHOD__."() returning ".array2string($folderlist));
//debugLog(__METHOD__."() returning ".array2string($folderlist));
//error_log(__METHOD__."() returning ".array2string($folderlist));
return $folderlist;
}
@ -587,6 +587,21 @@ error_log(__METHOD__."($folderid,$id) addressbook(".array2string($contact).") re
return false;
}
/**
* modify olflags (outlook style) flag of a message
*
* @param $folderid
* @param $id
* @param $flags
*
*
* @DESC The $flags parameter must contains the poommailflag Object
*/
function ChangeMessageFlag($folderid, $id, $flags)
{
return false;
}
/**
* Return a changes array
*

View File

@ -345,7 +345,7 @@ class calendar_activesync implements activesync_plugin_write
}
}
debugLog(__METHOD__."('$folderid',$id,...) SUCESS saving event=".array2string($event).", id=$id");
error_log(__METHOD__."('$folderid',$id,".array2string($message).") SUCESS saving event=".array2string($event).", id=$id");
//error_log(__METHOD__."('$folderid',$id,".array2string($message).") SUCESS saving event=".array2string($event).", id=$id");
return $this->StatMessage($folderid, $id);
}
@ -649,6 +649,21 @@ class calendar_activesync implements activesync_plugin_write
return false;
}
/**
* modify olflags (outlook style) flag of a message
*
* @param $folderid
* @param $id
* @param $flags
*
*
* @DESC The $flags parameter must contains the poommailflag Object
*/
function ChangeMessageFlag($folderid, $id, $flags)
{
return false;
}
/**
* Get specified item from specified folder.
*