API16

JStream/get meta data: Difference between revisions

From Joomla! Documentation

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...
 
m clean up
Line 4: Line 4:




<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JStream/get_meta_data|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JStream/get_meta_data}}
 
{{subst:Description:JStream/get_meta_data}}


===Syntax===
===Syntax===
Line 35: Line 33:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JStream/get_meta_data|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JStream/get_meta_data}}
</span>
{{SeeAlso:JStream/get_meta_data}}


===Examples===
===Examples===

Revision as of 14:27, 24 March 2017

Description

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



{{subst: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);
}


{{subst:SeeAlso:JStream/get_meta_data}}

Examples

<CodeExamplesForm />