<!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>Append data to the end of an event buffer</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.eventbuffer.html">EventBuffer</a></div> <div class="next" style="text-align: right; float: right;"><a href="eventbuffer.addbuffer.html">EventBuffer::addBuffer</a></div> <div class="up"><a href="class.eventbuffer.html">EventBuffer</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="eventbuffer.add" class="refentry"> <div class="refnamediv"> <h1 class="refname">EventBuffer::add</h1> <p class="verinfo">(PECL event >= 1.2.6-beta)</p><p class="refpurpose"><span class="refname">EventBuffer::add</span> — <span class="dc-title">Append data to the end of an event buffer</span></p> </div> <div class="refsect1 description" id="refsect1-eventbuffer.add-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>EventBuffer::add</strong></span> ( <span class="methodparam"> <span class="type">string</span> <code class="parameter">$data</code> </span> )</div> <p class="para rdfs-comment"> Append data to the end of an event buffer. </p> </div> <div class="refsect1 parameters" id="refsect1-eventbuffer.add-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <span class="term"> <em><code class="parameter">data</code></em> </span> <dd> <p class="para"> String to be appended to the end of the buffer. </p> </dd> </dt> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-eventbuffer.add-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success. Otherwise <strong><code>FALSE</code></strong>. </p> </div> <div class="refsect1 seealso" id="refsect1-eventbuffer.add-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="eventbuffer.addbuffer.html" class="methodname" rel="rdfs-seeAlso">EventBuffer::addBuffer()</a> - Move all data from a buffer provided to the current instance of EventBuffer</span> </li> </ul> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.eventbuffer.html">EventBuffer</a></div> <div class="next" style="text-align: right; float: right;"><a href="eventbuffer.addbuffer.html">EventBuffer::addBuffer</a></div> <div class="up"><a href="class.eventbuffer.html">EventBuffer</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>