Property | Type | Description | |
---|---|---|---|
$_chars | string | Buffer for the parsed character data. | |
$_cmdID | integer | The command ID ( |
|
$_cmdName | string | Must be overwritten by a sub class. | |
$_outputHandler | Horde_SyncMl_XmlOutput | A Horde_SyncMl_XmlOutput instance responsible for generating the output. | |
$_stack | array | Stack for holding the XML elements during creation of the object from the XML event flow. |
Method | Description | |
---|---|---|
__construct ( Horde_SyncMl_XmlOutput &$outputHandler ) | Constructor. | |
characters ( string $str ) | Character data handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::characters(). | |
endElement ( string $uri, string $element ) | End element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::endElement(). | |
factory ( string $command, Horde_SyncMl_XmlOutput &$outputHandler ) : Horde_SyncMl_Command | Attempts to return a concrete Horde_SyncMl_Command instance based on $command. | |
getCommandName ( ) : string | Returns the command name this instance is reponsible for. | |
handleCommand ( $debug = false ) | This method is supposed to implement the actual business logic of the command once the XML parsing is complete. | |
startElement ( string $uri, string $element, array $attrs ) | Start element handler for the XML parser, delegated from Horde_SyncMl_ContentHandler::startElement(). |
public __construct ( Horde_SyncMl_XmlOutput &$outputHandler ) | ||
$outputHandler | Horde_SyncMl_XmlOutput | A Horde_SyncMl_XmlOutput object. |
public characters ( string $str ) | ||
$str | string | The data string. |
public endElement ( string $uri, string $element ) | ||
$uri | string | The namespace URI of the element. |
$element | string | The element tag name. |
public factory ( string $command, Horde_SyncMl_XmlOutput &$outputHandler ) : Horde_SyncMl_Command | ||
$command | string | The type of the concrete Horde_SyncMl_Comment subclass to return. |
$outputHandler | Horde_SyncMl_XmlOutput | A Horde_SyncMl_XmlOutput object. |
return | Horde_SyncMl_Command | The newly created concrete Horde_SyncMl_Command instance, or false on error. |
public getCommandName ( ) : string | ||
return | string | The command name this object is handling. |
public handleCommand ( $debug = false ) |
protected string $_chars | ||
return | string |
protected string $_cmdName | ||
return | string |
protected Horde_SyncMl_XmlOutput $_outputHandler | ||
return | Horde_SyncMl_XmlOutput |
protected array $_stack | ||
return | array |