ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
parse ($input=null, $options=0) | |
This method starts the parsing process. More... | |
parseComponent (array $jComp) | |
Parses a component. More... | |
parseProperty (array $jProp) | |
Parses properties. 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... | |
Protected Attributes | |
$input | |
$root | |
Protected Attributes inherited from Sabre\VObject\Parser\Parser | |
$options | |
Additional Inherited Members | |
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... | |
This parser parses both the jCal and jCard formats.
Sabre\VObject\Parser\Json::parse | ( | $input = null , |
|
$options = 0 |
|||
) |
This method starts the parsing process.
If the input was not supplied during construction, it's possible to pass it here instead.
If either input or options are not supplied, the defaults will be used.
resource | string | array | null | $input | |
int | $options |
Definition at line 48 of file Json.php.
References Sabre\VObject\Parser\Json\$input, Sabre\VObject\Parser\Parser\$options, Sabre\VObject\Parser\Json\$root, input, Sabre\VObject\Parser\Json\parseComponent(), Sabre\VObject\Parser\Json\parseProperty(), and Sabre\VObject\Parser\Json\setInput().
Sabre\VObject\Parser\Json::parseComponent | ( | array | $jComp | ) |
Parses a component.
array | $jComp |
Definition at line 93 of file Json.php.
Referenced by Sabre\VObject\Parser\Json\parse().
Sabre\VObject\Parser\Json::parseProperty | ( | array | $jProp | ) |
Parses properties.
array | $jProp |
Definition at line 131 of file Json.php.
Referenced by Sabre\VObject\Parser\Json\parse().
Sabre\VObject\Parser\Json::setInput | ( | $input | ) |
Sets the input data.
resource | string | array | $input |
Definition at line 185 of file Json.php.
References Sabre\VObject\Parser\Json\$input, and input.
Referenced by Sabre\VObject\Parser\Json\parse().
|
protected |
Definition at line 26 of file Json.php.
Referenced by Sabre\VObject\Parser\Json\parse(), and Sabre\VObject\Parser\Json\setInput().
|
protected |
Definition at line 33 of file Json.php.
Referenced by Sabre\VObject\Parser\Json\parse().