Re: cvs: pear /DBA DBA.php DBA_Builtin.php DBA_Compat.php DBA_Relational.php DBA_Simple.php DBA_Table.php package.xml /DBA/tests benchmark.php
graph_template simple.php
| From: | (Alexander Merz) | Date: | Thu, 20 Jun 2002 23:58:44 +0000 |
| Subject: | Re: cvs: pear /DBA DBA.php DBA_Builtin.php DBA_Compat.php DBA_Relational.php DBA_Simple.php DBA_Table.php package.xml /DBA/tests benchmark.php graph_template simple.php |
||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7252@lists.php.net to get a copy of this message | ||
Brent Cook wrote:
The DBA drivers, the ones using trigger_error and returning booleans, are most useful when they are embedded into a higher-level class. I'll be sure to use raiseError on the higher levels; Table and Relational. Your driver classes can be used by other package developers and users too. Using trigger_error is not compliant to the PEAR standards and not the expected behavior of PEAR classes.
Ups, i mean: @access publicb) run phpdoc over your code - you will get a lot of warnings. Note: markup public functions with @access privateThanks, I will. Are you sure that public functions are supposed to be marked with access private?