Actions

API16

JStream/ destruct

From Joomla! Documentation

< API16:JStream
Revision as of 17:47, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Destructor

[Edit Descripton]

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] SeeAlso:JStream/ destruct

Examples

<CodeExamplesForm />