function __construct($name, $head = false, $append = false, $delim = "\t", $enclosure = '"', $filter = null) { parent::__construct($name, $append, $filter); if ($this->errlock) { return; } $this->delim = $delim; $this->enclosure = $enclosure; if (is_array($head)) { $this->fields = $head; $this->put($head); } }
function fwriter($name, $append = false, $filter = null) { fwriter::__construct($name, $append, $filter); }