JStream/get meta data: Difference between revisions
From Joomla! Documentation
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: | ||
{{Description:JStream/get_meta_data}} | |||
{{subst:Description:JStream/get_meta_data}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 35: | Line 33: | ||
</source> | </source> | ||
{{subst:SeeAlso:JStream/get_meta_data}} | |||
{{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 />