id3_get_genre_id
(PECL)
id3_get_genre_id — ジャンルの ID を取得する
id3_get_genre_id() は、ジャンルの ID を返します。
id3_get_genre_id — ジャンルの ID を取得する
説明
int id3_get_genre_id ( string genre )id3_get_genre_id() は、ジャンルの ID を返します。
パラメータ
- genre
- 0 から 147 までの整数値。
返り値
ジャンルの ID あるいはエラー時に FALSE を返します。例
例 893. id3_get_genre_id() の例 <?php
$id = id3_get_genre_id("Alternative");
echo $id;
?>
上の例の出力は以下となります。20
参考
id3_get_genre_name() |
id3_get_genre_list() |
- id3_get_genre_idのページへのリンク