KTaglib_MPEG_File::__construct
(0.0.1)
KTaglib_MPEG_File::__construct — Opens 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();
?>
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Обработка аудио форматов
- KTaglib
- Функция KTaglib_MPEG_File::__construct() - Opens a new file
- Функция KTaglib_MPEG_File::getAudioProperties() - Returns an object that provides access to the audio properties
- Функция KTaglib_MPEG_File::getID3v1Tag() - Returns an object representing an ID3v1 tag
- Функция KTaglib_MPEG_File::getID3v2Tag() - Returns a ID3v2 object
Коментарии
404 Not Found