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

📄 function.stream-notification-callback.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>A callback function for the notification context paramater</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.stream-get-wrappers.html">stream_get_wrappers</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.stream-register-wrapper.html">stream_register_wrapper</a></div> <div class="up"><a href="ref.stream.html">Stream Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.stream-notification-callback" class="refentry"> <div class="refnamediv">  <h1 class="refname">stream_notification_callback</h1>  <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">stream_notification_callback</span> &mdash; <span class="dc-title">A callback function for the <i>notification</i> context paramater</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type void">void</span></span> <span class="methodname"><b><b>stream_notification_callback</b></b></span>    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$notification_code</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$severity</tt></span>   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$message</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$message_code</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$bytes_transferred</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$bytes_max</tt></span>   )</div>  <p class="para rdfs-comment">   A <a href="language.pseudo-types.html#language.types.callback" class="type callback">callback</a> function called during an event.  </p>  <blockquote><p><b class="note">Note</b>:        This is <em class="emphasis">not</em> a real function, only a prototype of how the function should    be.   <br />  </p></blockquote> </div>  <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">notification_code</tt></i></span>     <dd>      <p class="para">       One of the <b><tt>STREAM_NOTIFY_*</tt></b> notification constants.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">severity</tt></i></span>     <dd>      <p class="para">       One of the <b><tt>STREAM_NOTIFY_SEVERITY_*</tt></b> notification constants.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">message</tt></i></span>     <dd>      <p class="para">       Passed if a descriptive message is available for the event.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">message_code</tt></i></span>     <dd>      <p class="para">       Passed if a descriptive message code is available for the event.      </p>      <p class="para">       The meaning of this value is dependent on the specific wrapper in use.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">bytes_transferred</tt></i></span>     <dd>      <p class="para">       If applicable, the <i><tt class="parameter">bytes_transferred</tt></i> will be       populated.      </p>     </dd>    </dt>

⌨️ 快捷键说明

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