PHP Class FluentDOM\Nodes\Creator\Node

Inheritance: implements FluentDOM\Appendable
Show file Open project: fluentdom/fluentdom

Public Methods

Method Description
__construct ( Document $document, DOMElement $node )
__get ( string $name ) : mixed
__set ( string $name, mixed $value )
__toString ( ) : string
appendTo ( Element $parent ) : Element
getDocument ( ) : Document

Method Details

__construct() public method

public __construct ( Document $document, DOMElement $node )
$document FluentDOM\Document
$node DOMElement

__get() public method

public __get ( string $name ) : mixed
$name string
return mixed

__set() public method

public __set ( string $name, mixed $value )
$name string
$value mixed

__toString() public method

public __toString ( ) : string
return string

appendTo() public method

public appendTo ( Element $parent ) : Element
$parent FluentDOM\Element
return FluentDOM\Element

getDocument() public method

public getDocument ( ) : Document
return FluentDOM\Document