getid3_id3v1::LookupGenreName

Advertisement

Syntax Syntax

getid3_id3v1::LookupGenreName( string $genreid, bool $allowSCMPXextended = true )

Parameters Parameters

$genreid

(string) (Required)

$allowSCMPXextended

(bool) (Optional)

Default value: true

Return Return

(string|false)

Source Source

File: wp-includes/ID3/module.tag.id3v1.php

	/**
	 * @param string $genreid
	 * @param bool   $allowSCMPXextended
	 *
	 * @return string|false
	 */
	public static function LookupGenreName($genreid, $allowSCMPXextended=true) {
		switch ($genreid) {
			case 'RX':
			case 'CR':
				break;
			default:
				if (!is_numeric($genreid)) {
					return false;

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.