113 lines
4.2 KiB
HTML
113 lines
4.2 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>AbstractIdGenerator (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/id/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/id/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/id/abstractidgenerator.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\Id\AbstractIdGenerator</div>
|
|
<div class="location">/Doctrine/ORM/Id/AbstractIdGenerator.php at line 7</div>
|
|
|
|
<h1>Class AbstractIdGenerator</h1>
|
|
|
|
<pre class="tree"><strong>AbstractIdGenerator</strong><br /></pre>
|
|
|
|
<hr>
|
|
|
|
<p class="signature">public abstract class <strong>AbstractIdGenerator</strong></p>
|
|
|
|
<hr>
|
|
|
|
<table id="summary_method">
|
|
<tr><th colspan="2">Method Summary</th></tr>
|
|
<tr>
|
|
<td class="type">abstract mixed</td>
|
|
<td class="description"><p class="name"><a href="#generate()">generate</a>(mixed em, Doctrine\ORM\Entity entity)</p><p class="description">Generates an identifier for an entity.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="type"> boolean</td>
|
|
<td class="description"><p class="name"><a href="#isPostInsertGenerator()">isPostInsertGenerator</a>()</p><p class="description">Gets whether this generator is a post-insert generator which means that
|
|
generate() must be called after the entity has been inserted
|
|
into the database.
|
|
</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h2 id="detail_method">Method Detail</h2>
|
|
<div class="location">/Doctrine/ORM/Id/AbstractIdGenerator.php at line 15</div>
|
|
<h3 id="generate()">generate</h3>
|
|
<code class="signature">public abstract mixed <strong>generate</strong>(mixed em, Doctrine\ORM\Entity entity)</code>
|
|
<div class="details">
|
|
<p>Generates an identifier for an entity.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="location">/Doctrine/ORM/Id/AbstractIdGenerator.php at line 27</div>
|
|
<h3 id="isPostInsertGenerator()">isPostInsertGenerator</h3>
|
|
<code class="signature">public boolean <strong>isPostInsertGenerator</strong>()</code>
|
|
<div class="details">
|
|
<p>Gets whether this generator is a post-insert generator which means that
|
|
<code>generate()</code> must be called after the entity has been inserted
|
|
into the database.</p><p>By default, this method returns FALSE. Generators that have this requirement
|
|
must override this method and return TRUE.</p></div>
|
|
|
|
<hr>
|
|
|
|
<div class="header">
|
|
<h1>Doctrine</h1>
|
|
<ul>
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../../../doctrine/orm/id/package-summary.html">Namespace</a></li>
|
|
<li class="active">Class</li>
|
|
<li><a href="../../../doctrine/orm/id/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/id/abstractidgenerator.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> |