Warning: include_once(/home/theraven/sites/theraven7.com/php/manual/en/toc/class.ktaglib-mpeg-file.inc) [function.include-once]: failed to open stream: No such file or directory in /home/theraven/sites/theraven7.com/php/manual/en/mpegfile.construct.php on line 5

Warning: include_once() [function.include]: Failed opening '/home/theraven/sites/theraven7.com/php/manual/en/toc/class.ktaglib-mpeg-file.inc' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/theraven/sites/theraven7.com/php/manual/en/mpegfile.construct.php on line 5
PHP: KTaglib_MPEG_File::__construct - Manual
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

KTaglib_MPEG_File::getAudioProperties> <KTaglib_MPEG_File
[edit] Last updated: Fri, 18 May 2012

view this page in

KTaglib_MPEG_File::__construct

(0.0.1)

KTaglib_MPEG_File::__constructOpens a new file

Description

public KTaglib_MPEG_File::__construct() ( string $filename )

Opens a new MPEG file.

Parameters

filename

The file to read

Examples

Example #1 Opens a new MP3 file and read the title

<?php
$mpeg 
= new KTaglib_MPEG_File('example.mp3');
echo 
$mpeg->getID3v1Tag()->getTitle();
?>



add a note add a note User Contributed Notes KTaglib_MPEG_File::__construct
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites