Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 3567

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get all possible genre values</title>

 </head>
 <body><div class="manualnavbar" 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 &gt;= 0.1)</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" id="refsect1-function.id3-get-genre-list-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>id3_get_genre_list</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
    <span class="function"><strong>id3_get_genre_list()</strong></span> 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" id="refsect1-function.id3-get-genre-list-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" id="refsect1-function.id3-get-genre-list-examples">
  <h3 class="title">Examples</h3>
  <p class="para">
   <div class="example" id="example-593">
    <p><strong>Example #1  <span class="function"><strong>id3_get_genre_list()</strong></span> example</strong></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 screen">
<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>
    </div>
   </div>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.id3-get-genre-list-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.id3-get-genre-name.html" class="function" rel="rdfs-seeAlso">id3_get_genre_name()</a> - Get the name for a genre id</span></li>
    <li class="member"> <span class="function"><a href="function.id3-get-genre-id.html" class="function" rel="rdfs-seeAlso">id3_get_genre_id()</a> - Get the id for a genre</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" 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>