public function BrowserRenderTrait::render in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserRenderTrait.php \Zumba\GastonJS\Browser\BrowserRenderTrait::render()
Renders a page or selection to a file given by path
Parameters
string $path:
array $options:
Return value
mixed
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Browser/ BrowserRenderTrait.php, line 41
Class
- BrowserRenderTrait
- Trait BrowserRenderTrait @package Zumba\GastonJS\Browser
Namespace
Zumba\GastonJS\BrowserCode
public function render($path, $options = array()) {
$fixedOptions = $this
->checkRenderOptions($options);
return $this
->command('render', $path, $fixedOptions["full"], $fixedOptions["selector"]);
}