From d4405bb99cf195c73f09d4336ee2550b5cff5268 Mon Sep 17 00:00:00 2001 From: pookey Date: Fri, 1 Jun 2007 09:15:04 +0000 Subject: [PATCH] docbook docs: changing features section headings into headers, and fixing the example --- manual/docbook/doctrine.xml | 111 +++++++++++++++++++----------------- 1 file changed, 60 insertions(+), 51 deletions(-) diff --git a/manual/docbook/doctrine.xml b/manual/docbook/doctrine.xml index 1affe1838..088e95d4a 100644 --- a/manual/docbook/doctrine.xml +++ b/manual/docbook/doctrine.xml @@ -88,7 +88,7 @@ // create a new user $user = new User(); - $user->username = "Pookey"; + $user->username = "pookey"; $user->password = "a password!"; $user->created = time(); @@ -151,58 +151,67 @@ LIMIT / OFFSET emulation - + + Object Relational Mapping - </para> - <para> - General Features - </para> - <itemizedlist> - <listitem>Validators</listitem> - <listitem>Transactional errorStack for easy retrieval of all errors</listitem> - <listitem>EventListeners</listitem> - <listitem>UnitOfWork pattern (easy saving of all pending objects)</listitem> - <listitem>Uses ActiveRecord pattern</listitem> - <listitem>State-wise records and transactions</listitem> - <listitem>Importing existing database schemas to Doctrine ActiveRecord objects</listitem> - <listitem>Exporting Doctrine ActiveRecords to database (= automatic table creation)</listitem> - </itemizedlist> - - <para> - Mapping - </para> - <itemizedlist> - <listitem>Composite, Natural, Autoincremented and Sequential identifiers</listitem> - <listitem>PHP Array / Object data types for columns (automatic serialization/unserialization)</listitem> - <listitem>Gzip datatype for all databases</listitem> - <listitem>Emulated enum datatype for all databases</listitem> - <listitem>Datatype abstraction</listitem> - <listitem>Column aggregation inheritance</listitem> - <listitem>One-class-one-table inheritance as well as One-table</listitem> - <listitem>One-to-many, many-to-one, one-to-one and many-to-many relations</listitem> - <listitem>Self-referencing relations even for association table relations</listitem> - <listitem>Relation aliases</listitem> - </itemizedlist> + + + + General Features + + + Validators + Transactional errorStack for easy retrieval of all errors + EventListeners + UnitOfWork pattern (easy saving of all pending objects) + Uses ActiveRecord pattern + State-wise records and transactions + Importing existing database schemas to Doctrine ActiveRecord objects + Exporting Doctrine ActiveRecords to database (= automatic table creation) + + + + + Mapping + + + Composite, Natural, Autoincremented and Sequential identifiers + PHP Array / Object data types for columns (automatic serialization/unserialization) + Gzip datatype for all databases + Emulated enum datatype for all databases + Datatype abstraction + Column aggregation inheritance + One-class-one-table inheritance as well as One-table + One-to-many, many-to-one, one-to-one and many-to-many relations + Self-referencing relations even for association table relations + Relation aliases + + - - Object population - - - DQL (Doctrine Query Language), an EJB 3 spec compliant OQL - The limit-subquery-algorithm - OO-style query API for both DQL and raw SQL - Object population from database views - Object population through raw SQL - - - - Transactions and locking - - - Pessimistic offline locking - Savepoints, transaction isolation levels and nested transactions - Transactional query optimization (gathering of DELETE statements) - + + + Object population + + + DQL (Doctrine Query Language), an EJB 3 spec compliant OQL + The limit-subquery-algorithm + OO-style query API for both DQL and raw SQL + Object population from database views + Object population through raw SQL + + + + + + Transactions and locking + + + Pessimistic offline locking + Savepoints, transaction isolation levels and nested transactions + Transactional query optimization (gathering of DELETE statements) + + +