⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.id3-get-genre-list.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Get all possible genre values</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.id3-get-genre-id.html">id3_get_genre_id</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.id3-get-genre-name.html">id3_get_genre_name</a></div> <div class="up"><a href="ref.id3.html">ID3 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.id3-get-genre-list" class="refentry"> <div class="refnamediv">  <h1 class="refname">id3_get_genre_list</h1>  <p class="verinfo">(PECL id3:0.1-0.2)</p><p class="refpurpose"><span class="refname">id3_get_genre_list</span> &mdash; <span class="dc-title">Get all possible genre values</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">array</span> <span class="methodname"><b><b>id3_get_genre_list</b></b></span>    ( <span class="methodparam">void</span>   )</div>  <p class="para rdfs-comment">   <b>id3_get_genre_list()</b> returns an array containing all   possible genres that may be stored in an ID3 tag. This list has been created   by Eric Kemp and later extended by WinAmp.  </p>  <p class="para">   This function is useful to provide you users a list of genres from which   they may choose one. When updating the ID3 tag you will always have to   specify the genre as an integer ranging from 0 to 147.  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns an array containing all possible genres that may be stored in an   ID3 tag.  </p> </div> <div class="refsect1 examples">  <h3 class="title">Examples</h3>  <p class="para">   <div class="example">    <p><b>Example #1 <b>id3_get_genre_list()</b> example</b></p>    <div class="example-contents"><div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$genres&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">id3_get_genre_list</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$genres</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>    </div>    <div class="example-contents"><p>The above example will output:</p></div>    <div class="example-contents"><pre><div class="cdata"><pre>Array(    [0] =&gt; Blues    [1] =&gt; Classic Rock    [2] =&gt; Country    [3] =&gt; Dance    [4] =&gt; Disco    [5] =&gt; Funk    [6] =&gt; Grunge    [7] =&gt; Hip-Hop    [8] =&gt; Jazz    [9] =&gt; Metal    [10] =&gt; New Age    [11] =&gt; Oldies    [12] =&gt; Other    [13] =&gt; Pop    [14] =&gt; R&amp;B    [15] =&gt; Rap    [16] =&gt; Reggae    [17] =&gt; Rock    [18] =&gt; Techno    [19] =&gt; Industrial    [20] =&gt; Alternative    [21] =&gt; Ska    [22] =&gt; Death Metal    [23] =&gt; Pranks    [24] =&gt; Soundtrack    [25] =&gt; Euro-Techno    [26] =&gt; Ambient    [27] =&gt; Trip-Hop    [28] =&gt; Vocal    [29] =&gt; Jazz+Funk    [30] =&gt; Fusion    [31] =&gt; Trance    [32] =&gt; Classical    [33] =&gt; Instrumental    [34] =&gt; Acid    [35] =&gt; House    [36] =&gt; Game    [37] =&gt; Sound Clip    [38] =&gt; Gospel    [39] =&gt; Noise    [40] =&gt; Alternative Rock    [41] =&gt; Bass    [42] =&gt; Soul    [43] =&gt; Punk    [44] =&gt; Space    [45] =&gt; Meditative    [46] =&gt; Instrumental Pop    [47] =&gt; Instrumental Rock    [48] =&gt; Ethnic    [49] =&gt; Gothic    [50] =&gt; Darkwave    [51] =&gt; Techno-Industrial    [52] =&gt; Electronic    [53] =&gt; Pop-Folk    [54] =&gt; Eurodance    [55] =&gt; Dream    [56] =&gt; Southern Rock    [57] =&gt; Comedy    [58] =&gt; Cult    [59] =&gt; Gangsta    [60] =&gt; Top 40    [61] =&gt; Christian Rap    [62] =&gt; Pop/Funk    [63] =&gt; Jungle    [64] =&gt; Native US    [65] =&gt; Cabaret    [66] =&gt; New Wave    [67] =&gt; Psychadelic    [68] =&gt; Rave    [69] =&gt; Showtunes    [70] =&gt; Trailer    [71] =&gt; Lo-Fi    [72] =&gt; Tribal    [73] =&gt; Acid Punk    [74] =&gt; Acid Jazz    [75] =&gt; Polka    [76] =&gt; Retro    [77] =&gt; Musical    [78] =&gt; Rock &amp; Roll    [79] =&gt; Hard Rock    [80] =&gt; Folk    [81] =&gt; Folk-Rock    [82] =&gt; National Folk    [83] =&gt; Swing    [84] =&gt; Fast Fusion    [85] =&gt; Bebob    [86] =&gt; Latin    [87] =&gt; Revival    [88] =&gt; Celtic    [89] =&gt; Bluegrass    [90] =&gt; Avantgarde    [91] =&gt; Gothic Rock    [92] =&gt; Progressive Rock    [93] =&gt; Psychedelic Rock    [94] =&gt; Symphonic Rock    [95] =&gt; Slow Rock    [96] =&gt; Big Band    [97] =&gt; Chorus    [98] =&gt; Easy Listening    [99] =&gt; Acoustic    [100] =&gt; Humour    [101] =&gt; Speech    [102] =&gt; Chanson    [103] =&gt; Opera    [104] =&gt; Chamber Music    [105] =&gt; Sonata    [106] =&gt; Symphony    [107] =&gt; Booty Bass    [108] =&gt; Primus    [109] =&gt; Porn Groove    [110] =&gt; Satire    [111] =&gt; Slow Jam    [112] =&gt; Club    [113] =&gt; Tango    [114] =&gt; Samba    [115] =&gt; Folklore    [116] =&gt; Ballad    [117] =&gt; Power Ballad    [118] =&gt; Rhytmic Soul    [119] =&gt; Freestyle    [120] =&gt; Duet    [121] =&gt; Punk Rock    [122] =&gt; Drum Solo    [123] =&gt; Acapella    [124] =&gt; Euro-House    [125] =&gt; Dance Hall    [126] =&gt; Goa    [127] =&gt; Drum &amp; Bass    [128] =&gt; Club-House    [129] =&gt; Hardcore    [130] =&gt; Terror    [131] =&gt; Indie    [132] =&gt; BritPop    [133] =&gt; Negerpunk    [134] =&gt; Polsk Punk    [135] =&gt; Beat    [136] =&gt; Christian Gangsta    [137] =&gt; Heavy Metal    [138] =&gt; Black Metal    [139] =&gt; Crossover    [140] =&gt; Contemporary C    [141] =&gt; Christian Rock    [142] =&gt; Merengue    [143] =&gt; Salsa    [144] =&gt; Thrash Metal    [145] =&gt; Anime    [146] =&gt; JPop    [147] =&gt; SynthPop)</pre></div>    </pre></div>   </div>  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.id3-get-genre-name.html" class="function" rel="rdfs-seeAlso">id3_get_genre_name()</a></li>    <li class="member"><a href="function.id3-get-genre-id.html" class="function" rel="rdfs-seeAlso">id3_get_genre_id()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.id3-get-genre-id.html">id3_get_genre_id</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.id3-get-genre-name.html">id3_get_genre_name</a></div> <div class="up"><a href="ref.id3.html">ID3 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -