<!--
-File $Id: AppendixB-SchemaReference.html,v 1.1 2004/07/08 01:17:06 hlellelid Exp $
-License GNU FDL (http://www.gnu.org/copyleft/fdl.html)
-Copyright 2002, Propel project
-Author Hans Lellelid, hide@address.com
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Propel Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="Stylesheet" rev="Stylesheet" href="../../css/Documentation.css" type="text/css" media="All" charset="iso-8859-1" />
</head>
<body>
<h1>Apendice B - Esquema de Referencia</h1>
<h2><a name="AppendixB.Database"></a>Base de Datos</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valores disponibles</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>defaultIdMethod</td>
<td>"native", "none"</td>
<td>"none"</td>
<td>No</td>
</tr>
<tr>
<td>package</td>
<td>n/a</td>
<td><em>name proyect</em></td>
<td>No</td>
</tr>
<tr>
<td>baseClass</td>
<td>n/a</td>
<td>propel.om.BaseObject</td>
<td> </td>
</tr>
<tr>
<td>basePeer</td>
<td>n/a</td>
<td>propel.util.BasePeer</td>
<td> </td>
</tr>
<tr>
<td>defaultPhpNamingMethod</td>
<td>"noChanges", "underscore", "namephp"</td>
<td>"underscore"</td>
<td>No</td>
</tr>
<tr>
<td>HeavyIndexing</td>
<td>"true", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
</tbody>
</table>
<p>Etiquetas de anidado:</p>
<ul>
<li><table></li>
<li><external-schema></li>
</ul>
<h2><a name="AppendixB.ExternalSchema"></a>Esquema Externo</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valore disponibles</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
</thead>
<tbody>
<tr>
<td>filename</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
</tbody>
</table>
<h2><a name="AppendixB.Table"></a>Tabla</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valores disponibles</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>idMethod</td>
<td>"native", "none"</td>
<td>"none" (or defaultIdMethod attrib of <database>)</td>
<td>No</td>
</tr>
<tr>
<td>phpName</td>
<td>n/a</td>
<td> </td>
<td>No</td>
</tr>
<tr>
<td>skipSql</td>
<td>"true", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
<tr>
<td>abstract</td>
<td>"true", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
<tr>
<td>phpNamingMethod</td>
<td>"nochange", "underscore", "phpname"</td>
<td>"underscore" (or defaultPhpNamingMethod of <database>)</td>
<td>No</td>
</tr>
<tr>
<td>baseClass</td>
<td>n/a</td>
<td>baseClass attribute of <database></td>
<td> </td>
</tr>
<tr>
<td>basePeer</td>
<td>n/a</td>
<td> basePeer attribute of <database></td>
<td> </td>
</tr>
<tr>
<td>description</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
<tr>
<td>heavyIndexing</td>
<td>"true", "false"</td>
<td>heavyIndexing attribute of <database></td>
<td>No</td>
</tr>
</tbody>
</table>
<p>etiquetas de anidado:</p>
<ul>
<li><column></li>
<li><foreign-key></li>
<li><index></li>
<li><unique></li>
</ul>
<h2><a name="AppendixB.Column"></a>Columna</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valores disponibles</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>phpName</td>
<td>n/a</td>
<td>(transformed name)</td>
<td>No</td>
</tr>
<tr>
<td>peerName</td>
<td>n/a</td>
<td>(uppercase name)</td>
<td>No</td>
</tr>
<tr>
<td>primaryKey</td>
<td>"true", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
<tr>
<td>required</td>
<td>"true", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
<tr>
<td>type</td>
<td> "BOOLEAN"<br /> "TINYINT"<br /> "SMALLINT"<br />
"INTEGER"<br /> "BIGINT"<br /> "DOUBLE"
<br /> "FLOAT"<br /> "REAL"<br /> "DECIMAL"<br />
"CHAR"<br /> "VARCHAR"<br /> "LONGVARCHAR"<br />
"DATE"<br /> "TIME"<br /> "TIMESTAMP"<br />
"BLOB"<br /> "CLOB"<br /> </td>
<td>"VARCHAR"</td>
<td>No</td>
</tr>
<tr>
<td>size</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
<tr>
<td>scale</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
<tr>
<td>default</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
<tr>
<td>autoIncrement</td>
<td>"true", "false"</td>
<td>"false"</td>
<td> </td>
</tr>
<tr>
<td>description</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
<tr>
<td>phpNamingMethod</td>
<td>"nochange", "underscore", "phpname"</td>
<td>phpNamingMethod attribute of <table></td>
<td>No</td>
</tr>
<tr>
<td>inheritance</td>
<td>"single", "false"</td>
<td>"false"</td>
<td>No</td>
</tr>
<tr>
<td>inputValidator</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</tbody>
</table>
<p>etiqueta de anidado:</p>
<ul>
<li><inheritance></li>
</ul>
<h3>Herencia</h3>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>key</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>class</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
</thead>
<tbody>
<tr>
<td>extends</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</tbody>
</table>
<h2><a name="AppendixB.ForeignKey"></a>llave foranea</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>foreignTable</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</thead>
<tbody>
<tr>
<td>onDelete</td>
<td>"cascade","setnull", "restrict"</td>
<td>"restrict"</td>
<td>No</td>
</tr>
</tbody>
</table>
<p>etiqueta de anidado:</p>
<ul>
<li><reference></li>
</ul>
<h3>Referencia</h3>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>local</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>foreign</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h2><a name="AppendixB.Index"></a>Indice</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>Etiquetas de anidado:</p>
<ul>
<li><index-column></li>
</ul>
<h3>Indice de Columna</h3>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
<tr>
<td>size</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h2><a name="AppendixB.Unique"></a>Único</h2>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>No</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>etiquetas de anidado:</p>
<ul>
<li><unique-column></li>
</ul>
<h3>Columna única</h3>
<table>
<thead>
<tr>
<th>Atributo</th>
<th>Valor disponible</th>
<th>por defecto</th>
<th>Requerido</th>
</tr>
<tr>
<td>name</td>
<td>n/a</td>
<td>n/a</td>
<td>si</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p> </p>
<p> </p><p> </p>
</body>
</html>