KTaglib_MPEG_File
PHP Manual

KTaglib_MPEG_File::__construct

(No version information available, might be only in CVS)

KTaglib_MPEG_File::__constructOpens a new file

説明

KTaglib_MPEG_File::__construct ( string $filename )

Opens a new MPEG file.

パラメータ

filename

The file to read

例1 Opens a new MP3 file and read the title

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


KTaglib_MPEG_File
PHP Manual