cvs: peardoc /en/package/database/db-table intro.xml

From: Date: Sat, 02 Jun 2007 18:03:26 +0000
Subject: cvs: peardoc /en/package/database/db-table intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9755@lists.php.net to get a copy of this message
morse Sat Jun 2 18:03:26 2007 UTC Modified files: /peardoc/en/package/database/db-table intro.xml Log: Small edits http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/db-table/intro.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/package/database/db-table/intro.xml diff -u peardoc/en/package/database/db-table/intro.xml:1.2 peardoc/en/package/database/db-table/intro.xml:1.3 --- peardoc/en/package/database/db-table/intro.xml:1.2 Tue May 29 18:42:23 2007 +++ peardoc/en/package/database/db-table/intro.xml Sat Jun 2 18:03:26 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.database.db-table.intro"> <refnamediv> @@ -42,9 +42,10 @@ </para> <para> - The properties of the core <classname>DB_Table</classname> class - contain the schema for a table, defined using portable <link - linkend="package.database.db-table.intro-datatypes">data types</link>. + The properties of the core <classname>DB_Table</classname> + class contain the schema for a table, defined using portable + <link linkend="package.database.db-table.intro-datatypes"> + data types</link>. The class methods provides a convenient API for constructing and submitting INSERT, UPDATE, DELETE, and SELECT SQL commands, and for creation of a RDBMS database table from the defined schema. @@ -55,21 +56,20 @@ </para> <para> - Each instance of <classname>DB_Table_Database</classname> - contains a model of relationships between tables in a database, - in which each table is represented by an instance of + Each instance of <classname>DB_Table_Database</classname> contains + a model of relationships between tables in a database, in which each + table is represented by an instance of <classname>DB_Table</classname>. - The <function>DB_Table_Database::autoJoin</function> automatically - constructs join conditions in queries that inner joins any number - of tables. (Outer joins support is planned but not yet implemented). - It also provides optional PHP validation of foreign key validity, + The <function>autoJoin</function> method can automatically + construct join conditions for queries that join any number of tables. + The class also provides optional PHP validation of foreign key validity, and optional PHP emulation of actions triggered on delete or update of referenced rows, such as cascading deletes. </para> <para> - The <classname>DB_Table_Generator</classname> class may be used - to auto-generate the PHP code necessary to use the DB_Table + The <classname>DB_Table_Generator</classname> class may be used to + automatically generate the PHP code necessary to use the DB_Table package as an interface to an existing database. It is used (if at all) only during set-up of the interface for a database. </para>

« previous php.pear.doc (#9755) next »