Re: Re: coding standards: Header Comment Blocks
| From: | Tomas V.V.Cox | Date: | Thu, 10 Jun 2004 09:49:25 +0000 |
| Subject: | Re: Re: coding standards: Header Comment Blocks | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30371@lists.php.net to get a copy of this message | ||
Stefan Neufeind wrote:
On 9 Jun 2004 at 20:12, Greg Beaver wrote:
class @package_name@ { function @package_name@ { ... } ... } class @package_name@_Child { function @package_name@_Child { ... } ... }
ANYBODY please don't take this seriously. It's just to show where this might lead :-)) StefanTo complete your code: /* * @package_name@ * @package_summary@ * * @description@ * * @package @package_name@ * @version @version@ (@release_date@) * @licence @licence@ */ class @package_name@ { function @package_name@() { require_once str_replace('_', '/', '@release_deps[2][name]@'); } function apiVersion() { return '@version@'; } } Isn't PEAR nice? It even writes for you the code ;-) Tomas V.V.Cox