78 lines
3.4 KiB
HTML
78 lines
3.4 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:03 +0000">
|
||
|
|
||
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
|
||
|
<link rel="start" href="../../../overview-summary.html">
|
||
|
|
||
|
<title>Doctrine\ORM\Tools (Doctrine)</title>
|
||
|
|
||
|
</head>
|
||
|
<body id="tree" onload="parent.document.title=document.title;">
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Doctrine</h1>
|
||
|
<ul>
|
||
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
||
|
<li class="active">Namespace</li>
|
||
|
<li>Class</li><li><a href="../../../doctrine/orm/tools/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/tools/package-summary.html" target="_top">No frames</a>
|
||
|
</div>
|
||
|
<hr>
|
||
|
|
||
|
<h1>Namespace Doctrine\ORM\Tools</h1>
|
||
|
|
||
|
<table class="title">
|
||
|
<tr><th colspan="2" class="title">Class Summary</th></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/classmetadatareader.html">ClassMetadataReader</a></td><td class="description">Class to read metadata mapping information from multiple sources into an array
|
||
|
of ClassMetadataInfo instances.
|
||
|
</td></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/convertdoctrine1schema.html">ConvertDoctrine1Schema</a></td><td class="description">Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files</td></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/entitygenerator.html">EntityGenerator</a></td><td class="description">Generic class used to generate PHP5 entity classes from ClassMetadataInfo instances[php]
|
||
|
$classes = $em->getClassMetadataFactory()->getAllMetadata();$generator = new \Doctrine\ORM\Tools\EntityGenerator();
|
||
|
$generator->setGenerateAnnotations(true);
|
||
|
$generator->setGenerateStubMethods(true);
|
||
|
$generator->setRegenerateEntityIfExists(false);
|
||
|
$generator->setUpdateEntityIfExists(true);
|
||
|
$generator->generate($classes, '/path/to/generate/entities');</td></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/schematool.html">SchemaTool</a></td><td class="description">The SchemaTool is a tool to create/drop/update database schemas based on
|
||
|
ClassMetadata class descriptors.</td></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/toolevents.html">ToolEvents</a></td><td class="description"></td></tr>
|
||
|
<tr><td class="name"><a href="../../../doctrine/orm/tools/toolsexception.html">ToolsException</a></td><td class="description">Base exception class for all ORM exceptions.</td></tr>
|
||
|
</table>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Doctrine</h1>
|
||
|
<ul>
|
||
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
||
|
<li class="active">Namespace</li>
|
||
|
<li>Class</li><li><a href="../../../doctrine/orm/tools/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/tools/package-summary.html" target="_top">No frames</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>
|