Skip to content

SimplePie_XML_Declaration_Parser

Parses the XML Declaration

  • Full name: \SimplePie_XML_Declaration_Parser
  • Parent class: \SimplePie\XML\Declaration\Parser
  • Warning: this class is deprecated. This means that this class will likely be removed in a future version.

Inherited methods

__construct

Create an instance of the class with the input data

public __construct(string $data): mixed

Parameters:

Parameter Type Description
$data string Input data

parse

Parse the input data

public parse(): bool

Return Value:

true on success, false on failure


has_data

Check whether there is data beyond the pointer

public has_data(): bool

Return Value:

true if there is further data, false if not


skip_whitespace

Advance past any whitespace

public skip_whitespace(): int

Return Value:

Number of whitespace characters passed


get_value

Read value

public get_value(): mixed

before_version_name

public before_version_name(): mixed

version_name

public version_name(): mixed

version_equals

public version_equals(): mixed

version_value

public version_value(): mixed

encoding_name

public encoding_name(): mixed

encoding_equals

public encoding_equals(): mixed

encoding_value

public encoding_value(): mixed

standalone_name

public standalone_name(): mixed

standalone_equals

public standalone_equals(): mixed

standalone_value

public standalone_value(): mixed


Automatically generated on 2025-03-18