<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mysql-xdevapi-collectionmodify.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'mysql-xdevapi-collectionmodify.patch.php',
    1 => 'CollectionModify::patch',
  ),
  'up' => 
  array (
    0 => 'class.mysql-xdevapi-collectionmodify.php',
    1 => 'mysql_xdevapi\\CollectionModify',
  ),
  'prev' => 
  array (
    0 => 'mysql-xdevapi-collectionmodify.limit.php',
    1 => 'CollectionModify::limit',
  ),
  'next' => 
  array (
    0 => 'mysql-xdevapi-collectionmodify.replace.php',
    1 => 'CollectionModify::replace',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/mysql_xdevapi/mysql_xdevapi/collectionmodify/patch.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysql-xdevapi-collectionmodify.patch" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">CollectionModify::patch</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">CollectionModify::patch</span> &mdash; <span class="dc-title">Исправляет документ</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysql-xdevapi-collectionmodify.patch-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>mysql_xdevapi\CollectionModify::patch</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$document</code></span>): <span class="type"><a href="class.mysql-xdevapi-collectionmodify.php" class="type mysql_xdevapi\CollectionModify">mysql_xdevapi\CollectionModify</a></span></div>

  <p class="para rdfs-comment">
   Принимает объект исправления и применяет его к одному или нескольким документам,
   и может обновлять несколько свойств документа.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysql-xdevapi-collectionmodify.patch-parameters">
  <h3 class="title">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">document</code></dt>
    <dd>
     <p class="para">
      Документ со свойствами, применяемыми к соответствующим документам.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysql-xdevapi-collectionmodify.patch-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   Объект CollectionModify.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-mysql-xdevapi-collectionmodify.patch-examples">
  <h3 class="title">Примеры</h3>
  <div class="example" id="example-1714">
   <p><strong>Пример #1 Пример использования <span class="function"><strong>mysql_xdevapi\CollectionModify::patch()</strong></span></strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />$res </span><span style="color: #007700">= </span><span style="color: #0000BB">$coll</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">modify</span><span style="color: #007700">(</span><span style="color: #DD0000">'"Programmatore" IN job'</span><span style="color: #007700">)-&gt;</span><span style="color: #0000BB">patch</span><span style="color: #007700">(</span><span style="color: #DD0000">'{"Hobby" : "Programmare"}'</span><span style="color: #007700">)-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

  </div>
 </div>


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