176 lines
6.9 KiB
HTML
176 lines
6.9 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:04 +0000">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
|
<link rel="start" href="../../../overview-summary.html">
|
|
|
|
<title>PreUpdateEventArgs (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/event/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/event/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/event/preupdateeventargs.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\Event\PreUpdateEventArgs</div>
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 15</div>
|
|
|
|
<h1>Class PreUpdateEventArgs</h1>
|
|
|
|
<pre class="tree">Class:PreUpdateEventArgs - Superclass: LifecycleEventArgs
|
|
Class:LifecycleEventArgs - Superclass: Doctrine
|
|
Doctrine<br>⌊ <a href="../../../doctrine/orm/event/lifecycleeventargs.html">LifecycleEventArgs</a><br> ⌊ <strong>PreUpdateEventArgs</strong><br /></pre>
|
|
|
|
<hr>
|
|
|
|
<p class="signature">public class <strong>PreUpdateEventArgs</strong><br>extends <a href="../../../doctrine/orm/event/lifecycleeventargs.html">LifecycleEventArgs</a>
|
|
|
|
</p>
|
|
|
|
<div class="comment" id="overview_description"><p>Class that holds event arguments for a preInsert/preUpdate event.</p></div>
|
|
|
|
<dl>
|
|
<dt>Author:</dt>
|
|
<dd>Roman Borschel <roman@code-factory.org></dd>
|
|
<dd>Benjamin Eberlei <kontakt@beberlei.de></dd>
|
|
<dt>Since:</dt>
|
|
<dd>2.0</dd>
|
|
</dl>
|
|
<hr>
|
|
|
|
<table id="summary_constr">
|
|
<tr><th colspan="2">Constructor Summary</th></tr>
|
|
<tr>
|
|
<td class="description"><p class="name"><a href="#PreUpdateEventArgs()">PreUpdateEventArgs</a>(object entity, <a href="../../../doctrine/orm/entitymanager.html">EntityManager</a> em, array changeSet)</p><p class="description"></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="#getEntityChangeSet()">getEntityChangeSet</a>()</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> mixed</td>
|
|
<td class="description"><p class="name"><a href="#getNewValue()">getNewValue</a>(string field)</p><p class="description">Get the new value of the changeset of the changed field.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> mixed</td>
|
|
<td class="description"><p class="name"><a href="#getOldValue()">getOldValue</a>(string field)</p><p class="description">Get the old value of the changeset of the changed field.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> bool</td>
|
|
<td class="description"><p class="name"><a href="#hasChangedField()">hasChangedField</a>(mixed field)</p><p class="description">Field has a changeset?</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> void</td>
|
|
<td class="description"><p class="name"><a href="#setNewValue()">setNewValue</a>(string field, mixed value)</p><p class="description">Set the new value of this field.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="inherit">
|
|
<tr><th colspan="2">Methods inherited from Doctrine\ORM\Event\LifecycleEventArgs</th></tr>
|
|
<tr><td><a href="../../../doctrine/orm/event/lifecycleeventargs.html#getEntity()">getEntity</a>, <a href="../../../doctrine/orm/event/lifecycleeventargs.html#getEntityManager()">getEntityManager</a></td></tr></table>
|
|
|
|
<h2 id="detail_constr">Constructor Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 28</div>
|
|
<h3 id="PreUpdateEventArgs()">PreUpdateEventArgs</h3>
|
|
<code class="signature">public <strong>PreUpdateEventArgs</strong>(object entity, <a href="../../../doctrine/orm/entitymanager.html">EntityManager</a> em, array changeSet)</code>
|
|
<div class="details">
|
|
<p></p></div>
|
|
|
|
<hr>
|
|
|
|
<h2 id="detail_method">Method Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 34</div>
|
|
<h3 id="getEntityChangeSet()">getEntityChangeSet</h3>
|
|
<code class="signature">public void <strong>getEntityChangeSet</strong>()</code>
|
|
<div class="details">
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 68</div>
|
|
<h3 id="getNewValue()">getNewValue</h3>
|
|
<code class="signature">public mixed <strong>getNewValue</strong>(string field)</code>
|
|
<div class="details">
|
|
<p>Get the new value of the changeset of the changed field.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 55</div>
|
|
<h3 id="getOldValue()">getOldValue</h3>
|
|
<code class="signature">public mixed <strong>getOldValue</strong>(string field)</code>
|
|
<div class="details">
|
|
<p>Get the old value of the changeset of the changed field.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 44</div>
|
|
<h3 id="hasChangedField()">hasChangedField</h3>
|
|
<code class="signature">public bool <strong>hasChangedField</strong>(mixed field)</code>
|
|
<div class="details">
|
|
<p>Field has a changeset?</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Event/PreUpdateEventArgs.php at line 81</div>
|
|
<h3 id="setNewValue()">setNewValue</h3>
|
|
<code class="signature">public void <strong>setNewValue</strong>(string field, mixed value)</code>
|
|
<div class="details">
|
|
<p>Set the new value of this field.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="header">
|
|
<h1>Doctrine</h1>
|
|
<ul>
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../../../doctrine/orm/event/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/event/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/event/preupdateeventargs.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> |