<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.yaf-response-abstract.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'yaf-response-abstract.appendbody.php',
    1 => 'Yaf_Response_Abstract::appendBody',
    2 => 'Append to response body',
  ),
  'up' => 
  array (
    0 => 'class.yaf-response-abstract.php',
    1 => 'Yaf_Response_Abstract',
  ),
  'prev' => 
  array (
    0 => 'class.yaf-response-abstract.php',
    1 => 'Yaf_Response_Abstract',
  ),
  'next' => 
  array (
    0 => 'yaf-response-abstract.clearbody.php',
    1 => 'Yaf_Response_Abstract::clearBody',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/yaf/yaf_response_abstract/appendbody.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="yaf-response-abstract.appendbody" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Yaf_Response_Abstract::appendBody</h1>
  <p class="verinfo">(Yaf &gt;=1.0.0)</p><p class="refpurpose"><span class="refname">Yaf_Response_Abstract::appendBody</span> &mdash; <span class="dc-title">Append to response body</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-yaf-response-abstract.appendbody-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Yaf_Response_Abstract::appendBody</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$content</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$key</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Append a content to a exists content block
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-yaf-response-abstract.appendbody-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">body</code></dt>
    <dd>
     <p class="para">
      content string
     </p>
    </dd>
   
   
    <dt><code class="parameter">key</code></dt>
    <dd>
     <p class="para">
      the content key, you can set a content with a key, if you don&#039;t
      specific, then Yaf_Response_Abstract::DEFAULT_BODY will be used
      <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
       <p class="para">
       this parameter is introduced as of 2.2.0
      </p>
      </p></blockquote>
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-yaf-response-abstract.appendbody-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   bool
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-yaf-response-abstract.appendbody-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 <span class="function"><strong>Yaf_Response_Abstract::appendBody()</strong></span>example</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Yaf_Response_Http</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">$response</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setBody</span><span style="color: #007700">(</span><span style="color: #DD0000">"Hello"</span><span style="color: #007700">)-&gt;</span><span style="color: #0000BB">appendBody</span><span style="color: #007700">(</span><span style="color: #DD0000">" World"</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">$response</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Hello World</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-yaf-response-abstract.appendbody-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="classname"><a href="class.yaf-config-ini.php" class="classname">Yaf_Config_Ini</a></span></li>
   <li><span class="methodname"><a href="yaf-response-abstract.getbody.php" class="methodname" rel="rdfs-seeAlso">Yaf_Response_Abstract::getBody()</a> - Retrieve a exists content</span></li>
   <li><span class="methodname"><a href="yaf-response-abstract.setbody.php" class="methodname" rel="rdfs-seeAlso">Yaf_Response_Abstract::setBody()</a> - Set content to response</span></li>
   <li><span class="methodname"><a href="yaf-response-abstract.prependbody.php" class="methodname" rel="rdfs-seeAlso">Yaf_Response_Abstract::prependBody()</a> - The prependBody purpose</span></li>
   <li><span class="methodname"><a href="yaf-response-abstract.clearbody.php" class="methodname" rel="rdfs-seeAlso">Yaf_Response_Abstract::clearBody()</a> - Discard all exists response body</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>