Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FluentDOM
Loadable
loadFragment
FluentDOM\Loadable::loadFragment PHP Method
Loadable Interface Documentation
Show file
Open project: fluentdom/fluentdom
loadFragment()
public
method
Load the data source and return the new DOM document. Return NULL if the data source could not be loaded.
public
loadFragment
(
mixed
$source
,
string
$contentType
,
array
|
Traversable
|
Options
$options
= [] ) :
null
|
DocumentFragment
$source
mixed
$contentType
string
$options
array
|
Traversable
|
FluentDOM\Loader\Options
Optional options for the loader
return
null
|
DocumentFragment
function loadFragment($source, $contentType, $options = []);
Loadable
load
loadFragment
supports