phpQuery::newDocumentFile
Creates new document from file $file.
Chainable.
Signature
public function newDocumentFile(string
$file,
[
$contentType = NULL] )
Parameters
$file
— string- URLs allowed. See File wrapper page at php.net for more supported sources.
$contentType
—
Returns
- phpQueryObject|QueryTemplatesSource|QueryTemplatesParse|QueryTemplatesSourceQuery