Actions

API16

JStream/get meta data

From Joomla! Documentation

< API16:JStream
Revision as of 17:48, 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

Get the stream metadata http://au.php.net/manual/en/function.stream-get-meta-data.php array header/metadata


[Edit Descripton]

Description:JStream/get meta data

Syntax

get_meta_data()


Returns

array header/metadata

Defined in

libraries/joomla/filesystem/stream.php

Importing

jimport( 'joomla.filesystem.stream' );

Source Body

function get_meta_data()
{
        if(!$this->_fh)
        {
                $this->setError(JText::_('File not open'));
                return false;
        }
        return stream_get_meta_data($this->_fh);
}

[Edit See Also] SeeAlso:JStream/get meta data

Examples

<CodeExamplesForm />