FOLDERCREATE
FOLDERCREATE
Handle FolderCreate requests.
$_driver : \Horde_ActiveSync_Driver_Base
Driver for communicating with the backend datastore.
$_state : \Horde_ActiveSync_State_Base
State driver
$_encoder : \Horde_ActiveSync_Wbxml_Encoder
Encoder
$_decoder : \Horde_ActiveSync_Wbxml_Decoder
Decoder
$_provisioning : integer
Whether we require provisioned devices.
Valid values are:
$_activeSync : \Horde_ActiveSync
ActiveSync server
$_device : \Horde_ActiveSync_Device
The device info
__construct(\Horde_ActiveSync $as) : \Horde_ActiveSync_Request_Base
Const'r
\Horde_ActiveSync | $as | The ActiveSync server. |
_handle() : boolean
Handle request.
Notes: For FOLDERCREATE requests or non-email collections, the parent seems to be set to the root of that collection type and the EAS type is included. For new root email folders, the parent is set to ROOT. For FOLDERCHANGE requests, the type is NOT included so the backend must be able to determine the folder type given the folder's id only. Also, the parent element does not seem to be transmitted by the clients I have tested, so even though it is included when creating the new folder, it is NOT included when edting that same folder. sigh