API16:JStream/get meta data
From Joomla! Documentation
Description
Get the stream metadata http://au.php.net/manual/en/function.stream-get-meta-data.php array header/metadata
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);
}
Examples
Code Examples