cvs: pear /DB_Table/DB/Table Generator.php

From: Date: Fri, 23 Mar 2007 10:32:43 +0000
Subject: cvs: pear /DB_Table/DB/Table Generator.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-45369@lists.php.net to get a copy of this message
morse Fri Mar 23 10:32:43 2007 UTC Modified files: /pear/DB_Table/DB/Table Generator.php Log: Fixed </code> closing tags in class docblock http://cvs.php.net/viewvc.cgi/pear/DB_Table/DB/Table/Generator.php?r1=1.8&r2=1.9&diff_format=u Index: pear/DB_Table/DB/Table/Generator.php diff -u pear/DB_Table/DB/Table/Generator.php:1.8 pear/DB_Table/DB/Table/Generator.php:1.9 --- pear/DB_Table/DB/Table/Generator.php:1.8 Thu Mar 22 14:06:45 2007 +++ pear/DB_Table/DB/Table/Generator.php Fri Mar 23 10:32:43 2007 @@ -10,7 +10,7 @@ * @package DB_Table * @author David C. Morse <morse@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version $Id: Generator.php,v 1.8 2007/03/22 14:06:45 morse Exp $ + * @version $Id: Generator.php,v 1.9 2007/03/23 10:32:43 morse Exp $ */ // {{{ Includes @@ -44,7 +44,7 @@ define('DB_TABLE_GENERATOR_ERR_INDEX_COL', -302); // }}} -// {{{ GLOBAL error message and associated code +// {{{ Error messages /** * US-English default error messages. */ @@ -66,7 +66,7 @@ } // }}} -// {{{ DB_Table_Generator +// {{{ class DB_Table_Generator /** * class DB_Table_Generator - Generates DB_Table subclass skeleton code @@ -105,14 +105,15 @@ * $generator->class_write_path = $class_write_path; * $generator->generateTableClassFiles(); * $generator->generateDatabaseFile(); - * <code> + * </code> * Here $class_write_path should be the path (without a trailing * separator) to a directory in which all of the code should be - * written. It will be created if it does not exist. If this directory - * does already exist, existing files will not be overwritten. If - * ->generateDatabaseFile is called, it must be called after the - * ->generateTableClassFiles() method. If this line is omitted, - * all the code will be written to the current directory. + * written. If this directory does not exist, it will be created. + * If the directory does already exist, exising files will not + * be overwritten. If $class_write_path is not set (i.e., if this + * line is omitted) all the code will be written to the current + * directory. If ->generateDatabaseFile() is called, it must be + * called after ->generateTableClassFiles(). * * By default, ->generateTableClassFiles() and ->generateDatabaseFiles() * generate code for all of the tables in the current database. To @@ -126,10 +127,10 @@ * $generator->tables = array('table1', 'table2', 'table3'); * $generator->generateTableClassFiles(); * $generator->generateDatabaseFile(); - * <code> - * If the $tables property is not set to a non-null value prior to - * calling ->generateTableClassFiles() then, by default, the database - * is queried for a list of all of all table names, by calling the + * </code> + * If the $tables property is not set to a non-null value prior + * to calling ->generateTableClassFiles() then, by default, the + * database is queried for a list of all table names, by calling the * ->getTableNames() method from within ->generateTableClassFiles(). * * PHP version 4 and 5 @@ -138,7 +139,7 @@ * @package DB_Table * @author David C. Morse <morse@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version $Id: Generator.php,v 1.8 2007/03/22 14:06:45 morse Exp $ + * @version $Id: Generator.php,v 1.9 2007/03/23 10:32:43 morse Exp $ */ class DB_Table_Generator {

« previous php.pear.cvs (#45369) next »