198 lines
7.6 KiB
HTML
198 lines
7.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html lang="en">
|
|
<head>
|
|
|
|
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
|
|
<meta name="when" content="Wed, 14 Apr 2010 15:12:05 +0000">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
<link rel="start" href="../../../overview-summary.html">
|
|
|
|
<title>AbstractCollectionPersister (Doctrine)</title>
|
|
|
|
</head>
|
|
<body id="definition" onload="parent.document.title=document.title;">
|
|
|
|
<div class="header">
|
|
<h1>Doctrine</h1>
|
|
<ul>
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../../../doctrine/orm/persisters/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/persisters/package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="small_links">
|
|
<a href="../../../index.html" target="_top">Frames</a>
|
|
<a href="../../../doctrine/orm/persisters/abstractcollectionpersister.html" target="_top">No frames</a>
|
|
</div>
|
|
<div class="small_links">
|
|
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
</div>
|
|
<hr>
|
|
|
|
<div class="qualifiedName">Doctrine\ORM\Persisters\AbstractCollectionPersister</div>
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 31</div>
|
|
|
|
<h1>Class AbstractCollectionPersister</h1>
|
|
|
|
<pre class="tree"><strong>AbstractCollectionPersister</strong><br /></pre>
|
|
|
|
<hr>
|
|
|
|
<p class="signature">public abstract class <strong>AbstractCollectionPersister</strong></p>
|
|
|
|
<div class="comment" id="overview_description"><p>Base class for all collection persisters.</p></div>
|
|
|
|
<dl>
|
|
<dt>Since:</dt>
|
|
<dd>2.0</dd>
|
|
<dt>Author:</dt>
|
|
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
</dl>
|
|
<hr>
|
|
|
|
<table id="summary_field">
|
|
<tr><th colspan="2">Field Summary</th></tr>
|
|
<tr>
|
|
<td class="type">protected Doctrine\DBAL\Connection</td>
|
|
<td class="description"><p class="name"><a href="#_conn">$_conn</a></p><p class="description"></p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type">protected <a href="../../../doctrine/orm/entitymanager.html">EntityManager</a></td>
|
|
<td class="description"><p class="name"><a href="#_em">$_em</a></p><p class="description"></p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type">protected Doctrine\ORM\UnitOfWork</td>
|
|
<td class="description"><p class="name"><a href="#_uow">$_uow</a></p><p class="description"></p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="summary_constr">
|
|
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
<tr>
|
|
<td class="description"><p class="name"><a href="#AbstractCollectionPersister()">AbstractCollectionPersister</a>(Doctrine\ORM\EntityManager em)</p><p class="description">Initializes a new instance of a class derived from AbstractCollectionPersister.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="summary_method">
|
|
<tr><th colspan="2">Method Summary</th></tr>
|
|
<tr>
|
|
<td class="type"> void</td>
|
|
<td class="description"><p class="name"><a href="#delete()">delete</a>(<a href="../../../doctrine/orm/persistentcollection.html">PersistentCollection</a> coll)</p><p class="description">Deletes the persistent state represented by the given collection.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> void</td>
|
|
<td class="description"><p class="name"><a href="#deleteRows()">deleteRows</a>(mixed coll)</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> void</td>
|
|
<td class="description"><p class="name"><a href="#insertRows()">insertRows</a>(mixed coll)</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> void</td>
|
|
<td class="description"><p class="name"><a href="#update()">update</a>(<a href="../../../doctrine/orm/persistentcollection.html">PersistentCollection</a> coll)</p><p class="description">Updates the given collection, synchronizing it's state with the database
|
|
by inserting, updating and deleting individual elements.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h2 id="detail_field">Field Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 41</div>
|
|
<h3 id="_conn">_conn</h3>
|
|
<code class="signature">protected Doctrine\DBAL\Connection <strong>$_conn</strong></code>
|
|
<div class="details">
|
|
<p></p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 36</div>
|
|
<h3 id="_em">_em</h3>
|
|
<code class="signature">protected <a href="../../../doctrine/orm/entitymanager.html">EntityManager</a> <strong>$_em</strong></code>
|
|
<div class="details">
|
|
<p></p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 46</div>
|
|
<h3 id="_uow">_uow</h3>
|
|
<code class="signature">protected Doctrine\ORM\UnitOfWork <strong>$_uow</strong></code>
|
|
<div class="details">
|
|
<p></p></div>
|
|
|
|
<hr>
|
|
|
|
<h2 id="detail_constr">Constructor Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 53</div>
|
|
<h3 id="AbstractCollectionPersister()">AbstractCollectionPersister</h3>
|
|
<code class="signature">public <strong>AbstractCollectionPersister</strong>(Doctrine\ORM\EntityManager em)</code>
|
|
<div class="details">
|
|
<p>Initializes a new instance of a class derived from AbstractCollectionPersister.</p></div>
|
|
|
|
<hr>
|
|
|
|
<h2 id="detail_method">Method Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 65</div>
|
|
<h3 id="delete()">delete</h3>
|
|
<code class="signature">public void <strong>delete</strong>(<a href="../../../doctrine/orm/persistentcollection.html">PersistentCollection</a> coll)</code>
|
|
<div class="details">
|
|
<p>Deletes the persistent state represented by the given collection.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 105</div>
|
|
<h3 id="deleteRows()">deleteRows</h3>
|
|
<code class="signature">public void <strong>deleteRows</strong>(mixed coll)</code>
|
|
<div class="details">
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 117</div>
|
|
<h3 id="insertRows()">insertRows</h3>
|
|
<code class="signature">public void <strong>insertRows</strong>(mixed coll)</code>
|
|
<div class="details">
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Persisters/AbstractCollectionPersister.php at line 95</div>
|
|
<h3 id="update()">update</h3>
|
|
<code class="signature">public void <strong>update</strong>(<a href="../../../doctrine/orm/persistentcollection.html">PersistentCollection</a> coll)</code>
|
|
<div class="details">
|
|
<p>Updates the given collection, synchronizing it's state with the database
|
|
by inserting, updating and deleting individual elements.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="header">
|
|
<h1>Doctrine</h1>
|
|
<ul>
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../../../doctrine/orm/persisters/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/persisters/package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="small_links">
|
|
<a href="../../../index.html" target="_top">Frames</a>
|
|
<a href="../../../doctrine/orm/persisters/abstractcollectionpersister.html" target="_top">No frames</a>
|
|
</div>
|
|
<div class="small_links">
|
|
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
|
|
</div>
|
|
<hr>
|
|
|
|
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
|
|
|
|
</body>
|
|
|
|
</html> |