Documentation

ElementStruct extends Element
in package

Class ElementStruct

Table of Contents

Properties

$document  : Document|null
$value  : mixed

Methods

__construct()  : mixed
__toString()  : string
contains()  : bool
equals()  : bool
getContent()  : mixed
init()  : mixed
parse()  : false|Header

Properties

Methods

__construct()

public __construct(mixed $value[, Document|null $document = null ]) : mixed
Parameters
$value : mixed
$document : Document|null = null

__toString()

public __toString() : string
Return values
string

contains()

public contains(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

equals()

public equals(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

getContent()

public getContent() : mixed

parse()

public static parse(string $content[, Document|null $document = null ][, int &$offset = 0 ]) : false|Header
Parameters
$content : string
$document : Document|null = null
$offset : int = 0
Return values
false|Header

        
On this page

Search results