PHP Class Horde_SyncMl_Command_SyncHdr, horde

SyncHdr is not really a sync command, but this class takes advantage of the XML parser in Horde_SyncMl_Command. Copyright 2006-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Karsten Fourmont ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_SyncMl_Command
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$credData string Authentication credential as specified by the element.
$credFormat string Encoding format of $credData as specified in the element like 'b64'.
$credType string Media type of $credData as specified in the element like 'auth-basic'.
$user string Username as specified in the element.

Protected Properties

Property Type Description
$_cmdName string Name of the command.
$_maxMsgSize integer Maximum size of a SyncML message in bytes as specified by the element.
$_maxObjSize integer Maximum size of a SyncML object in bytes as specified by the element.
$_message integer Id of the current message as specified in the element.
$_sessionID string This is not to confuse with the PHP session id, though it is part of the generated PHP session id.
$_sourceURI string The source URI as specified by the element.
$_targetURI string This is normally the URL of the Horde RPC server. However the client is free to send anything.
$_version integer 0 for SyncML 1.0, 1 for SyncML 1.1, etc.

Public Methods

Method Description
endElement ( string $uri, string $element ) End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement().
setupState ( ) Starts the PHP session and instantiates the global Horde_SyncMl_State object if doesn't exist yet.

Method Details

endElement() public method

End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement().
public endElement ( string $uri, string $element )
$uri string The namespace URI of the element.
$element string The element tag name.

setupState() public method

Starts the PHP session and instantiates the global Horde_SyncMl_State object if doesn't exist yet.
public setupState ( )

Property Details

$_cmdName protected_oe property

Name of the command.
protected string $_cmdName
return string

$_maxMsgSize protected_oe property

Maximum size of a SyncML message in bytes as specified by the element.
protected int $_maxMsgSize
return integer

$_maxObjSize protected_oe property

Maximum size of a SyncML object in bytes as specified by the element.
protected int $_maxObjSize
return integer

$_message protected_oe property

Id of the current message as specified in the element.
protected int $_message
return integer

$_sessionID protected_oe property

This is not to confuse with the PHP session id, though it is part of the generated PHP session id.
protected string $_sessionID
return string

$_sourceURI protected_oe property

The source URI as specified by the element.
protected string $_sourceURI
return string

$_targetURI protected_oe property

This is normally the URL of the Horde RPC server. However the client is free to send anything.
protected string $_targetURI
return string

$_version protected_oe property

0 for SyncML 1.0, 1 for SyncML 1.1, etc.
protected int $_version
return integer

$credData public_oe property

Authentication credential as specified by the element.
public string $credData
return string

$credFormat public_oe property

Encoding format of $credData as specified in the element like 'b64'.
public string $credFormat
return string

$credType public_oe property

Media type of $credData as specified in the element like 'auth-basic'.
public string $credType
return string

$user public_oe property

Username as specified in the element.
public string $user
return string