PHP Класс 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.
Автор: Karsten Fourmont ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_SyncMl_Command
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
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.

Описание методов

endElement() публичный Метод

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() публичный Метод

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

Описание свойств

$_cmdName защищенное свойство

Name of the command.
protected string $_cmdName
Результат string

$_maxMsgSize защищенное свойство

Maximum size of a SyncML message in bytes as specified by the element.
protected int $_maxMsgSize
Результат integer

$_maxObjSize защищенное свойство

Maximum size of a SyncML object in bytes as specified by the element.
protected int $_maxObjSize
Результат integer

$_message защищенное свойство

Id of the current message as specified in the element.
protected int $_message
Результат integer

$_sessionID защищенное свойство

This is not to confuse with the PHP session id, though it is part of the generated PHP session id.
protected string $_sessionID
Результат string

$_sourceURI защищенное свойство

The source URI as specified by the element.
protected string $_sourceURI
Результат string

$_targetURI защищенное свойство

This is normally the URL of the Horde RPC server. However the client is free to send anything.
protected string $_targetURI
Результат string

$_version защищенное свойство

0 for SyncML 1.0, 1 for SyncML 1.1, etc.
protected int $_version
Результат integer

$credData публичное свойство

Authentication credential as specified by the element.
public string $credData
Результат string

$credFormat публичное свойство

Encoding format of $credData as specified in the element like 'b64'.
public string $credFormat
Результат string

$credType публичное свойство

Media type of $credData as specified in the element like 'auth-basic'.
public string $credType
Результат string

$user публичное свойство

Username as specified in the element.
public string $user
Результат string