Methods summary
public
Horde_ActiveSync_Driver_Horde
|
#
__construct( array $params = array() )
Const'r
Required params (in addition to the base class' requirements):
connector => Horde_ActiveSync_Driver_Horde_Connector_Registry object
auth => Horde_Auth object
Const'r
Required params (in addition to the base class' requirements):
connector => Horde_ActiveSync_Driver_Horde_Connector_Registry object
auth => Horde_Auth object
Parameters
- $params
- Configuration parameters.
Returns
Horde_ActiveSync_Driver_Horde
|
public
|
#
logon( mixed $username, mixed $password, mixed $domain = null )
Authenticate to Horde
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#Logon($username
, $domain
, $password)
|
public
|
#
logOff( )
Clean up
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#Logoff()
|
public
boolean
|
#
setup( string $user )
Setup sync parameters. The user provided here is the user the backend
will sync with. This allows you to authenticate as one user, and sync as
another, if the backend supports this.
Setup sync parameters. The user provided here is the user the backend
will sync with. This allows you to authenticate as one user, and sync as
another, if the backend supports this.
Parameters
- $user
- The username to sync as on the backend.
Returns
boolean
|
public
|
#
getWasteBasket( )
Get the wastebasket folder
Get the wastebasket folder
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#getWasteBasket()
|
public
array
|
#
getFolderList( )
Return a list of available folders
Return a list of available folders
Returns
array An array of folder stats
|
public
Horde_ActiveSync_Message_Folder
|
#
getFolder( string $id )
Retrieve folder
Parameters
Returns
Horde_ActiveSync_Message_Folder
|
public
a
|
#
statFolder( mixed $id )
Stat folder. Note that since the only thing that can ever change for a
folder is the name, we use that as the 'mod' value.
Stat folder. Note that since the only thing that can ever change for a
folder is the name, we use that as the 'mod' value.
Parameters
Returns
a stat hash
|
public
|
#
getMessageList( mixed $folderid, mixed $cutoffdate )
Get the message list of specified folder
Get the message list of specified folder
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#getMessageList($folderId
, $cutOffDate)
|
public
array
|
#
getServerChanges( string $folderId, integer $from_ts, integer $to_ts, integer $cutoffdate )
Get a list of server changes that occured during the specified time
period.
Get a list of server changes that occured during the specified time
period.
Parameters
- $folderId
- The server id of the collection to check.
- $from_ts
- The starting timestamp
- $to_ts
- The ending timestamp
- $cutoffdate
- The earliest date to retrieve back to
Returns
array A list of messge uids that have chnaged in the specified
time period.
|
public
|
#
getMessage( mixed $folderid, mixed $id, mixed $truncsize, mixed $mimesupport = 0 )
Get a message from the backend
Get a message from the backend
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#getMessage
|
public
|
#
statMessage( mixed $folderid, mixed $id )
Get message stat data
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#statMessage($folderId
, $id)
|
public
|
#
deleteMessage( mixed $folderid, mixed $id )
Delete a message
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#deleteMessage($folderid
, $id)
|
public
|
#
changeMessage( string $folderid, string $id, Horde_ActiveSync_Message_Base $message, object $device )
Add/Edit a message
Parameters
- $folderid
- <p>The server id for the folder the message belongs
to.</p>
- $id
- <p>The server's uid for the message if this is a
change to an existing message.</p>
- $message
- The activesync message
- $device
- The device information
See
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde_ActiveSync_Driver_Base#changeMessage($folderid
, $id
, $message)
|
public
array
|
#
getSearchResults( string $query, string $range )
Returns array of items which contain contact information
Returns array of items which contain contact information
Parameters
- $query
- <p>The text string to match against any textual ANR
(Automatic Name Resolution) properties. Exchange's
searchable ANR properties are currently:
firstname, lastname, alias, displayname, email</p>
- $range
- The range to return (for example, 1-50).
Returns
array with 'rows' and 'range' keys
|
public
boolean
|
#
sendMail( string $rfc822, boolean $forward = false, boolean $reply = false, boolean $parent = false )
Sends the email represented by the rfc822 string received by the PIM.
Currently only used when meeting requests are sent from the PIM.
Sends the email represented by the rfc822 string received by the PIM.
Currently only used when meeting requests are sent from the PIM.
Parameters
- $rfc822
- The rfc822 mime message
- $forward
- Indicates if this is a forwarded message
- $reply
- Indicates if this is a reply
- $parent
- Parent message in thread.
Returns
boolean
|