SimpleNode
Table of Contents
Constants
-
TYPE_CDATA
= 4
-
TYPE_COMMENT
= 8
-
TYPE_ELEMENT
= 1
-
TYPE_TEXT
= 3
Properties
-
$index
: int
-
$string
: string
-
$type
: int
Methods
-
__construct()
: mixed
-
__toString()
: string
-
fromString()
: self
-
getElementName()
: string|null
-
getIndex()
: int
-
getType()
: int
TYPE_CDATA
public
mixed
TYPE_CDATA
= 4
public
mixed
TYPE_COMMENT
= 8
TYPE_ELEMENT
public
mixed
TYPE_ELEMENT
= 1
TYPE_TEXT
public
mixed
TYPE_TEXT
= 3
$index
protected
int
$index
$string
protected
string
$string
$type
protected
int
$type
__construct()
public
__construct(int $type, int $index, string $string) : mixed
Parameters
-
$type
: int
-
-
$index
: int
-
-
$string
: string
-
__toString()
public
__toString() : string
fromString()
public
static fromString(int $type, int $index, string $string) : self
Parameters
-
$type
: int
-
-
$index
: int
-
-
$string
: string
-
getElementName()
public
getElementName() : string|null
Return values
string|null
getIndex()
public
getIndex() : int
getType()
public
getType() : int