public Output ( string $name = '', string $dest = 'I', boolean $print = false ) : string | void | ||
$name | string | |
$dest | string | I: send the file inline to the browser. D: send to the browser and force download. F: save to a local S: return as a string. name is ignored. |
boolean | 1 imprime 0 nao imprime | |
return | string | void |
function Output($name = '', $dest = 'I', $print = false)
{
if ($print) {
$this->IncludeJS("print('true');");
}
return parent::Output($name, $dest);
die;
}