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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство 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

Свойство 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.

Méthodes publiques

Méthode 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 méthode

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 méthode

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
Résultat string

$_maxMsgSize protected_oe property

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

$_maxObjSize protected_oe property

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

$_message protected_oe property

Id of the current message as specified in the element.
protected int $_message
Résultat 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
Résultat string

$_sourceURI protected_oe property

The source URI as specified by the element.
protected string $_sourceURI
Résultat 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
Résultat string

$_version protected_oe property

0 for SyncML 1.0, 1 for SyncML 1.1, etc.
protected int $_version
Résultat integer

$credData public_oe property

Authentication credential as specified by the element.
public string $credData
Résultat string

$credFormat public_oe property

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

$credType public_oe property

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

$user public_oe property

Username as specified in the element.
public string $user
Résultat string