?? function.id3-get-genre-id.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Get the id for a genre</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-frame-short-name.html">id3_get_frame_short_name</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.id3-get-genre-list.html">id3_get_genre_list</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-id" class="refentry"> <div class="refnamediv"> <h1 class="refname">id3_get_genre_id</h1> <p class="verinfo">(PECL id3:0.1-0.2)</p><p class="refpurpose"><span class="refname">id3_get_genre_id</span> — <span class="dc-title">Get the id for a genre</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><b>id3_get_genre_id</b></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$genre</tt></span> )</div> <p class="para rdfs-comment"> <b>id3_get_genre_id()</b> returns the id for a genre. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">genre</tt></i></span> <dd> <p class="para"> An integer ranging from 0 to 147 </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> The genre id or <b><tt>FALSE</tt></b> on errors. </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_id()</b> example</b></p> <div class="example-contents"><div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB"><?php<br />$id </span><span style="color: #007700">= </span><span style="color: #0000BB">id3_get_genre_id</span><span style="color: #007700">(</span><span style="color: #DD0000">"Alternative"</span><span style="color: #007700">);<br />echo </span><span style="color: #0000BB">$id</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></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>20</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-list.html" class="function" rel="rdfs-seeAlso">id3_get_genre_list()</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-frame-short-name.html">id3_get_frame_short_name</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.id3-get-genre-list.html">id3_get_genre_list</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 + -