PEAR Manual
Prev |  | Next

# MP3_Id::getGenre()

MP3_Id::getGenre() -- return genre name by number

## Synopsis

    require_once 'Id.php';

``mixed MP3_Id::getGenre` (integer $genreno)`

## Description

Return the name of a genre number, if no genre number is specified the genre number found in the file will be used.

## Parameter

integer `$genreno`

  Number of the genre

## Return value

mixed `FALSE`, if no genre found, else string

## Note

This function can not be called statically.

Prev | Home | Next
MP3_Id::genres() | Up | MP3_Id::getGenreNo()