ElementName
extends Element
in package
Class ElementName
Table of Contents
Properties
Methods
- __construct() : mixed
- __toString() : string
- contains() : bool
- equals() : bool
- getContent() : mixed
- init() : mixed
- parse() : bool|ElementName
Properties
$document
protected
Document|null
$document
$value
protected
mixed
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
__toString()
public
__toString() : string
Return values
stringcontains()
public
contains(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolequals()
public
equals(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolgetContent()
public
getContent() : mixed
init()
public
init() : mixed
parse()
public
static parse(string $content[, Document|null $document = null ][, int &$offset = 0 ]) : bool|ElementName
Parameters
- $content : string
- $document : Document|null = null
- $offset : int = 0