1
0
mirror of synced 2025-01-29 19:41:45 +03:00

renaming some files

This commit is contained in:
zYne 2007-02-23 20:54:10 +00:00
parent 31a0a0b677
commit 31ccb6369b
98 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php ?>
Doctrine_Db_Profiler is an eventlistener for Doctrine_Db. It provides flexible query profiling. Besides the sql strings
the query profiles include elapsed time to run the queries. This allows inspection of the queries that have been performed without the
need for adding extra debugging code to model classes.
<br \><br \>
Doctrine_Db_Profiler can be enabled by adding it as an eventlistener for Doctrine_Db.
<br \><br \>
<?php
renderCode("<?php
?>");
?>

View File

View File

View File

View File

@ -0,0 +1 @@
This is the same as 'array' type in PHP.

View File

@ -0,0 +1,14 @@
Doctrine supports default values for all data types. When default value is attached to a record column this means two of things.
First this value is attached to every newly created Record.
<code type="php">
class User extends Doctrine_record {
public function setTableDefinition() {
$this->hasColumn('name', 'string', 50, array('default' => 'default name'));
}
}
$user = new User();
print $user->name; // default name
</code>
Also when exporting record class to database DEFAULT //value// is attached to column definition statement.

View File

@ -0,0 +1,2 @@
A foreign key constraint specifies that the values in a column (or a group of columns) must match the values appearing in some row of another table.
In other words foreign key constraints maintain the referential integrity between two related tables.

View File