API16:JStream/ destruct
From Joomla! Documentation
Description
Destructor
Template:Description:JStream/ destruct
Syntax
__destruct()
Defined in
libraries/joomla/filesystem/stream.php
Importing
jimport( 'joomla.filesystem.stream' );
Source Body
function __destruct()
{
// attempt to close on destruction if there is a file handle
if($this->_fh) @$this->close();
}
[Edit See Also] Template:SeeAlso:JStream/ destruct
Examples
<CodeExamplesForm />