phpQuery::newDocumentPHP
Creates new document from markup.
Chainable.
Signature
public function newDocumentPHP([unknown_type
$markup = NULL,
[string
$contentType = "text/html"]] )
Parameters
$markup
— object
$contentType
— string
Returns
- phpQueryObject|QueryTemplatesSource|QueryTemplatesParse|QueryTemplatesSourceQuery
Line | Task |
---|---|
321 | pass charset to phpToMarkup if possible (use DOMDocumentWrapper function) |