Actions

API16

JStream/ destruct

< API16:JStream

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Destructor



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();
}



Examples

Code Examples


Advertisement