MP3_Id::setTag

MP3_Id::setTag() – sets a tag content

Synopsis

require_once 'Id.php';

void MP3_Id::setTag ( mixed $name , mixed $value )

Description

Sets a field

Possible names of tags are:
Tag Meaning
nameTitle of the content
artistsName of band or artist
albumName of the album
yearpublishing year of the album or song
commentsong comment
trackthe number of the track
genregenre of the song
genrenoNumber of the genre

Parameter

mixed $name

Name of the tag to set or hash with the key as fieldname

mixed $value

the value to set

Note

This function can not be called statically.

remove tags (Previous) does extra work to get the MPEG frame info (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.