API16

API16:JStream/get meta data

From Joomla! Documentation

Revision as of 22:48, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Get the stream metadata http://au.php.net/manual/en/function.stream-get-meta-data.php array header/metadata <span class="editsection" style="font-size:76%;"> <now...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

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


[Edit Descripton]

Template: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] Template:SeeAlso:JStream/get meta data

Examples

<CodeExamplesForm />