ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($input=null, $options=0) | |
Creates the parser. More... | |
parse ($input=null, $options=0) | |
Parse xCal or xCard. More... | |
setInput ($input) | |
Sets the input data. More... | |
Public Member Functions inherited from Sabre\VObject\Parser\Parser | |
__construct ($input=null, $options=0) | |
Creates the parser. More... | |
parse ($input=null, $options=0) | |
This method starts the parsing process. More... | |
setInput ($input) | |
Sets the input data. More... | |
Data Fields | |
const | XCAL_NAMESPACE = 'urn:ietf:params:xml:ns:icalendar-2.0' |
const | XCARD_NAMESPACE = 'urn:ietf:params:xml:ns:vcard-4.0' |
Data Fields inherited from Sabre\VObject\Parser\Parser | |
const | OPTION_FORGIVING = 1 |
Turning on this option makes the parser more forgiving. More... | |
const | OPTION_IGNORE_INVALID_LINES = 2 |
If this option is turned on, any lines we cannot parse will be ignored by the reader. More... | |
Protected Member Functions | |
parseVCalendarComponents (Component $parentComponent) | |
Parse a xCalendar component. More... | |
parseVCardComponents (Component $parentComponent) | |
Parse a xCard component. More... | |
parseProperties (Component $parentComponent, $propertyNamePrefix='') | |
Parse xCalendar and xCard properties. More... | |
parseComponent (Component $parentComponent) | |
Parse a component. More... | |
createProperty (Component $parentComponent, $name, $parameters, $type, $value) | |
Create a property. More... | |
Static Protected Member Functions | |
static | getTagName ($clarkedTagName) |
Get tag name from a Clark notation. More... | |
Protected Attributes | |
$input | |
$root | |
Protected Attributes inherited from Sabre\VObject\Parser\Parser | |
$options | |
Private Attributes | |
$pointer | |
This parser parses both the xCal and xCard formats.
Sabre\VObject\Parser\XML::__construct | ( | $input = null , |
|
$options = 0 |
|||
) |
Creates the parser.
Optionally, it's possible to parse the input stream here.
mixed | $input | |
int | $options | Any parser options (OPTION constants). |
Definition at line 57 of file XML.php.
References Sabre\VObject\Parser\XML\$input, and Sabre\VObject\Parser\Parser\$options.
|
protected |
Create a property.
Component | $parentComponent | |
string | $name | |
array | $parameters | |
string | $type | |
mixed | $value |
Definition at line 373 of file XML.php.
References $name, $type, and Sabre\VObject\Component\add().
Referenced by Sabre\VObject\Parser\XML\parseProperties().
|
staticprotected |
Get tag name from a Clark notation.
string | $clarkedTagName |
Definition at line 422 of file XML.php.
References Sabre\Xml\Service\parseClarkNotation().
Sabre\VObject\Parser\XML::parse | ( | $input = null , |
|
$options = 0 |
|||
) |
Parse xCal or xCard.
resource | string | $input | |
int | $options |
Definition at line 77 of file XML.php.
References Sabre\VObject\Parser\XML\$input, Sabre\VObject\Parser\Parser\$options, Sabre\VObject\Parser\XML\$root, input, Sabre\VObject\Parser\XML\parseVCalendarComponents(), Sabre\VObject\Parser\XML\parseVCardComponents(), and Sabre\VObject\Parser\XML\setInput().
|
protected |
Parse a component.
Component | $parentComponent |
Definition at line 340 of file XML.php.
References Sabre\VObject\Component\add(), and Sabre\VObject\Parser\XML\parseVCalendarComponents().
Referenced by Sabre\VObject\Parser\XML\parseVCalendarComponents().
|
protected |
Parse xCalendar and xCard properties.
Component | $parentComponent | |
string | $propertyNamePrefix |
Definition at line 169 of file XML.php.
References $i, $namespace, Sabre\VObject\Parser\XML\createProperty(), and Sabre\Xml\Service\parseClarkNotation().
Referenced by Sabre\VObject\Parser\XML\parseVCalendarComponents(), and Sabre\VObject\Parser\XML\parseVCardComponents().
|
protected |
Parse a xCalendar component.
Component | $parentComponent |
Definition at line 127 of file XML.php.
References Sabre\VObject\Parser\XML\parseComponent(), and Sabre\VObject\Parser\XML\parseProperties().
Referenced by Sabre\VObject\Parser\XML\parse(), and Sabre\VObject\Parser\XML\parseComponent().
|
protected |
Parse a xCard component.
Component | $parentComponent |
Definition at line 154 of file XML.php.
References Sabre\VObject\Parser\XML\parseProperties().
Referenced by Sabre\VObject\Parser\XML\parse().
Sabre\VObject\Parser\XML::setInput | ( | $input | ) |
Sets the input data.
resource | string | $input |
Definition at line 393 of file XML.php.
References Sabre\VObject\Parser\XML\$input, $reader, and input.
Referenced by Sabre\VObject\Parser\XML\parse().
|
protected |
Definition at line 31 of file XML.php.
Referenced by Sabre\VObject\Parser\XML\__construct(), Sabre\VObject\Parser\XML\parse(), and Sabre\VObject\Parser\XML\setInput().
|
protected |
Definition at line 45 of file XML.php.
Referenced by Sabre\VObject\Parser\XML\parse().
const Sabre\VObject\Parser\XML::XCAL_NAMESPACE = 'urn:ietf:params:xml:ns:icalendar-2.0' |
const Sabre\VObject\Parser\XML::XCARD_NAMESPACE = 'urn:ietf:params:xml:ns:vcard-4.0' |